Fixed : fix php version compatible with php version 8.2 to 8.5

This commit is contained in:
amit sharma
2026-09-01 19:51:37 +05:30
parent 761fc63c67
commit 74143c6dad
54 changed files with 200 additions and 152 deletions

View File

@@ -145,14 +145,14 @@ class ConfigurationTestCore
public static function test_phpversion()
{
return (
version_compare(substr(phpversion(), 0, 5), '8.1.0', '>=')
&& version_compare(substr(phpversion(), 0, 5), '8.5', '<')
version_compare(substr(phpversion(), 0, 5), '8.2.0', '>=')
&& version_compare(substr(phpversion(), 0, 5), '8.6.0', '<')
);
}
public static function test_new_phpversion()
{
return version_compare(substr(phpversion(), 0, 5), '8.1.0', '>=');
return version_compare(substr(phpversion(), 0, 5), '8.2.0', '>=');
}
public static function test_mysql_support()