/PHP-7.4/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"); 24 if (is_string($version)) { 26 if (!preg_match('/(\d+)\.(\d+)\.(\d+)(.*)/', $version, $matches)) 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);
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | 071.phpt | 14 $version = $mysql->server_version; 24 /* libmysql return value seems to depend on server version */ 25 if ((($version >= 50123) || ($version <= 40200)) && $version != 50200) { 26 /* TODO: find exact version */ 28 …ntf("[001] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $version); 32 …tf("[001] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $version); 51 /* libmysql return value seems to depend on server version */ 52 if ((($version >= 50123) || ($version <= 40200)) && $version != 50200) { 53 /* TODO: find exact version */ 55 …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_constants.phpt | 123 $version = 50007 + 1; 130 $version = mysqli_get_client_version(); 133 if (($version > 51122 && $version < 60000) || ($version > 60003) || $IS_MYSQLND) { 138 if ($version >= 50500 || $IS_MYSQLND) { 142 if ($version >= 50033 || $IS_MYSQLND) { 150 if ($version >= 50606 || $IS_MYSQLND) { 154 if ($version > 50002) { 161 if ($version > 50002 || $IS_MYSQLND) { 165 if ($version > 50003) { 175 if ($version > 50007) { [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 …]
|
/PHP-7.4/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-7.4/ext/zlib/tests/ |
H A D | func.inc | 5 $version = NULL; 12 // $version = $match[1]; 14 $version = $match[2]; 17 return $version;
|
/PHP-7.4/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 6 $version = $db->getAttribute(PDO::DBLIB_ATTR_VERSION); 9 if (!strstartswith($version, 'freetds ')) { 14 if (!strstartswith($version, 'freetds v1.1.dev.')) { 19 return intval(substr($version, -8)) >= 20161206;
|
/PHP-7.4/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-7.4/ext/curl/tests/ |
H A D | bug72189.phpt | 8 $version = curl_version(); 10 if ($version['version_number'] < 0x071306) { 18 $version = curl_version(); 40 if ($version['features'] & $feature) {
|
/PHP-7.4/ext/xmlrpc/tests/ |
H A D | bug40576_64bit.phpt | 23 string(125) "<?xml version="1.0" encoding="utf-8"?> 32 string(119) "<?xml version="1.0" encoding="utf-8"?> 41 string(116) "<?xml version="1.0" encoding="utf-8"?> 50 string(106) "<?xml version="1.0" encoding="utf-8"?> 59 string(118) "<?xml version="1.0" encoding="utf-8"?> 68 string(139) "<?xml version="1.0" encoding="utf-8"?>
|
H A D | bug40576.phpt | 23 string(125) "<?xml version="1.0" encoding="utf-8"?> 32 string(130) "<?xml version="1.0" encoding="utf-8"?> 41 string(116) "<?xml version="1.0" encoding="utf-8"?> 50 string(106) "<?xml version="1.0" encoding="utf-8"?> 59 string(118) "<?xml version="1.0" encoding="utf-8"?> 68 string(139) "<?xml version="1.0" encoding="utf-8"?>
|
/PHP-7.4/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-7.4/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-7.4/scripts/ |
H A D | php-config.in | 7 version="@PHP_VERSION@" 72 --version) 73 echo $version;; 92 --version [$version]
|
/PHP-7.4/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…
|
/PHP-7.4/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-7.4/ext/pdo_firebird/ |
H A D | pdo_firebird.c | 85 char version[64]; in PHP_MINFO_FUNCTION() local 86 isc_get_client_version(version); in PHP_MINFO_FUNCTION() 90 php_info_print_table_row(2, "Client Library Version", version); in PHP_MINFO_FUNCTION()
|