/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_server_version.phpt | 17 $version = $db->getAttribute(PDO::ATTR_SERVER_VERSION); 18 if ('' == $version) 19 printf("[001] Server version must not be empty\n"); 22 // If its a version string it should be of the format \d+\.\d+\.\d+.* 24 if (is_string($version)) { 27 printf("[002] Client version string seems wrong, got '%s'\n", $version); 41 } else if (is_int($version)) { 43 $major = floor($version / 10000); 44 $minor = floor(($version - ($main * 10000)) / 100); 45 $sub = $version - ($main * 10000) - ($minor * 100); [all …]
|
H A D | pdo_mysql_attr_client_version.phpt | 17 $version = $db->getAttribute(PDO::ATTR_CLIENT_VERSION); 22 if ('' == $version) 23 printf("[001] Client version must not be empty\n"); 28 printf("[002] Wonderful, I can change the client version!\n"); 31 if ($new_version !== $version) 32 printf("[003] Did we change it from '%s' to '%s'?\n", $version, $new_version);
|
H A D | bug_61411.phpt | 14 die(sprintf("skip Cannot determine MySQL Server version\n")); 16 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3]; 17 if ($version < 40106) 19 $matches[1], $matches[2], $matches[3], $version));
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | 071.phpt | 13 $version = $mysql->server_version; 23 /* libmysql return value seems to depend on server version */ 24 if ((($version >= 50123) || ($version <= 40200)) && $version != 50200) { 25 /* TODO: find exact version */ 27 …ntf("[001] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $version); 31 …tf("[001] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $version); 50 /* libmysql return value seems to depend on server version */ 51 if ((($version >= 50123) || ($version <= 40200)) && $version != 50200) { 52 /* TODO: find exact version */ 54 …ntf("[002] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $version); [all …]
|
H A D | mysqli_stmt_execute_stored_proc.phpt | 44 $version = 'unknown'; 45 if (!mysqli_stmt_bind_result($stmt, $version) || 49 if (($version == "unknown") || ($version == "")) 51 $version, 122 $version = 'unknown'; 127 if ($version != "myversion") 129 $version, 148 $version = 'myversion'; 164 $version = 'unknown'; 169 if ($version !== "myversion") [all …]
|
H A D | mysqli_stmt_execute_stored_proc_next_result.phpt | 32 $version = 'myversion'; 33 if (!mysqli_stmt_bind_param($stmt, 's', $version)) 39 $version = 'unknown'; 40 if (!mysqli_stmt_bind_result($stmt, $version) || 44 if ($version !== "myversion") 46 $version, 72 $version = 'myversion'; 79 $version = NULL; 80 if (!mysqli_stmt_bind_result($stmt, $version) || 84 if ($version !== "myversion") [all …]
|
H A D | mysqli_character_set_name.phpt | 17 if (!$res = mysqli_query($link, 'SELECT version() AS server_version')) 21 $version = explode('.', $tmp['server_version']); 22 if (empty($version)) 23 printf("[006] Cannot determine server version, need MySQL Server 4.1+ for the test!\n"); 25 if ($version[0] <= 4 && $version[1] < 1)
|
/PHP-8.0/ext/pcre/tests/ |
H A D | preg_match_error4.phpt | 39 "version": "1.8.1", 51 "version": "1.0.10", 62 "version": "0.2.1", 73 "version": "3.15.7", 84 "version": "3.1.0", 95 "version": "v0.7.3", 106 "version": "0.1.3", 117 "version": "3.0.0", 140 "version": "0.1", 318 "version": "0.1", [all …]
|
H A D | bug76514.phpt | 26 "version": "v1.0.0", 37 "version": "3.9.4", 61 "version": "v1.2.7", 72 "version": "v1.6.0", 83 "version": "v1.3.0", 94 "version": "v2.6.1", 127 "version": "v1.16", 138 "version": "7.2.5", 149 "version": "5.3.0", 204 "version": "v1.4", [all …]
|
/PHP-8.0/ext/zlib/tests/ |
H A D | func.inc | 5 $version = NULL; 12 // $version = $match[1]; 14 $version = $match[2]; 17 return $version;
|
/PHP-8.0/ext/pdo_dblib/tests/ |
H A D | dbtds.phpt | 12 $version = $db->getAttribute(PDO::DBLIB_ATTR_TDS_VERSION); 13 var_dump((is_string($version) && strlen($version)) || $version === false);
|
H A D | dbversion.phpt | 12 $version = $db->getAttribute(PDO::DBLIB_ATTR_VERSION); 13 var_dump(is_string($version) && strlen($version));
|
H A D | config.inc | 4 // this function will version detect so the relevant tests can XFAILIF 8 $version = $db->getAttribute(PDO::DBLIB_ATTR_VERSION); 9 return !strstartswith($version, 'freetds ') || !strstartswith($version, 'freetds v1.0');
|
/PHP-8.0/ext/gd/tests/ |
H A D | func.inc | 20 $version = 0; 23 $version = $match[1]; 26 return $version; 31 $version = 0; 34 $version = $match[1]; 37 return $version; 42 $version = 0; 45 $version = $match[1]; 48 return $version; 53 $version = 0; [all …]
|
/PHP-8.0/ext/pgsql/tests/ |
H A D | 00version.phpt | 2 PostgreSQL version 7 // Get postgresql version for easier debugging. 8 // Execute run-test.php with --keep-all to get version string in 00version.log or 00version.out
|
H A D | skipif.inc | 20 function skip_server_version($version, $op = '<') 23 if (version_compare($pg, $version, $op)) { 24 die("skip Server version {$pg} is {$op} {$version}\n");
|
/PHP-8.0/ext/curl/ |
H A D | sync-constants.php | 229 throw new \RuntimeException('Invalid version number: ' . $version); 236 throw new \RuntimeException('Invalid version number: ' . $version); 242 throw new \RuntimeException('Invalid version number: ' . $version);
|
/PHP-8.0/scripts/ |
H A D | php-config.in | 7 version="@PHP_VERSION@" 72 --version) 73 echo $version;; 92 --version [$version]
|
/PHP-8.0/ext/sqlite3/tests/ |
H A D | bug73068.phpt | 6 $version = SQLite3::version()['versionNumber']; 7 if ($version >= 3011000 && $version < 3014002) die('skip libsqlite 3.11.0 to 3.14.1 exhibit erroneo…
|
H A D | sqlite3_17_version.phpt | 2 SQLite3::version() 7 print_r(SQLite3::version());
|
/PHP-8.0/ext/pdo_firebird/ |
H A D | pdo_firebird.c | 77 char version[64]; in PHP_MINFO_FUNCTION() local 78 isc_get_client_version(version); in PHP_MINFO_FUNCTION() 82 php_info_print_table_row(2, "Client Library Version", version); in PHP_MINFO_FUNCTION()
|
/PHP-8.0/ext/soap/tests/bugs/ |
H A D | bug35142.phpt | 27 function __doRequest($request, $location, $action, $version, $one_way = 0) { 73 public $version; 80 …function __construct($version, $activityId, $messageId, $source, $logOnEvent=NULL, $logOffEvent=NU… 81 $this->version = $version; 91 <?xml version="1.0" encoding="UTF-8"?> 92 …elope/" xmlns:ns1="http://testurl/Message"><SOAP-ENV:Body><ns1:ivrEvents version="1.0" activityId=… 95 ["version"]=>
|
H A D | bug36226-2.phpt | 25 function __doRequest($request, $location, $action, $version, $one_way = 0) { 76 public $version; 83 …function __construct($version, $activityId, $messageId, $source, $logOnEvent=NULL, $logOffEvent=NU… 84 $this->version = $version; 95 <?xml version="1.0" encoding="UTF-8"?> 96 …http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><ns1:ivrEvents version="1.0" activityId=… 99 ["version"]=>
|
H A D | bug36226.phpt | 27 function __doRequest($request, $location, $action, $version, $one_way = 0) { 74 public $version; 81 …function __construct($version, $activityId, $messageId, $source, $logOnEvent=NULL, $logOffEvent=NU… 82 $this->version = $version; 92 <?xml version="1.0" encoding="UTF-8"?> 93 …elope/" xmlns:ns1="http://testurl/Message"><SOAP-ENV:Body><ns1:ivrEvents version="1.0" activityId=… 96 ["version"]=>
|
/PHP-8.0/ext/xml/tests/ |
H A D | xml_error_string_basic.phpt | 12 '<?xml version="1.0"?><element>', 14 '<?xml version="dummy">', 16 '<?xml version="1.0"?><elem></element>',
|