/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_server_version.phpt | 18 $version = $db->getAttribute(PDO::ATTR_SERVER_VERSION); 19 if ('' == $version) 20 printf("[001] Server version must not be empty\n"); 23 // If its a version string it should be of the format \d+\.\d+\.\d+.* 25 if (is_string($version)) { 28 printf("[002] Client version string seems wrong, got '%s'\n", $version); 42 } else if (is_int($version)) { 44 $major = floor($version / 10000); 45 $minor = floor(($version - ($main * 10000)) / 100); 46 $sub = $version - ($main * 10000) - ($minor * 100); [all …]
|
H A D | pdo_mysql_attr_client_version.phpt | 18 $version = $db->getAttribute(PDO::ATTR_CLIENT_VERSION); 23 if ('' == $version) 24 printf("[001] Client version must not be empty\n"); 29 printf("[002] Wonderful, I can change the client version!\n"); 32 if ($new_version !== $version) 33 printf("[003] Did we change it from '%s' to '%s'?\n", $version, $new_version);
|
/PHP-8.1/.github/workflows/ |
H A D | root.yml | 51 …ify_type_inference: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix… 52 …libmysqlclient_with_mysqli: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1) }} 53 …run_alpine: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.… 54 …run_macos_arm64: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.br… 55 …ubuntu_version: ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) || matrix.br… 56 …windows_version: ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.b…
|
/PHP-8.1/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 | 45 $version = 'unknown'; 46 if (!mysqli_stmt_bind_result($stmt, $version) || 50 if (($version == "unknown") || ($version == "")) 52 $version, 123 $version = 'unknown'; 128 if ($version != "myversion") 130 $version, 149 $version = 'myversion'; 165 $version = 'unknown'; 170 if ($version !== "myversion") [all …]
|
H A D | mysqli_constants.phpt | 119 $version = 50007 + 1; 126 $version = mysqli_get_client_version(); 129 if (($version > 51122 && $version < 60000) || ($version > 60003) || $IS_MYSQLND) { 134 if ($version >= 50500 || $IS_MYSQLND) { 144 if ($version >= 50606 || $IS_MYSQLND) { 167 if ($version < 80000 || $version >= 100000 || $IS_MYSQLND) { 174 if ($IS_MYSQLND || (!$IS_MYSQLND && ($version > 50610))) { 184 if (($version > 80021 && $constants['mysqli']['MYSQLI_IS_MARIADB']) || $IS_MYSQLND) {
|
H A D | mysqli_stmt_execute_stored_proc_next_result.phpt | 33 $version = 'myversion'; 34 if (!mysqli_stmt_bind_param($stmt, 's', $version)) 40 $version = 'unknown'; 41 if (!mysqli_stmt_bind_result($stmt, $version) || 45 if ($version !== "myversion") 47 $version, 73 $version = 'myversion'; 80 $version = NULL; 81 if (!mysqli_stmt_bind_result($stmt, $version) || 85 if ($version !== "myversion") [all …]
|
/PHP-8.1/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.1/ext/pdo_dblib/tests/ |
H A D | dbtds.phpt | 13 $version = $db->getAttribute(PDO::DBLIB_ATTR_TDS_VERSION); 14 var_dump((is_string($version) && strlen($version)) || $version === false);
|
H A D | dbversion.phpt | 13 $version = $db->getAttribute(PDO::DBLIB_ATTR_VERSION); 14 var_dump(is_string($version) && strlen($version));
|
/PHP-8.1/ext/zlib/tests/ |
H A D | func.inc | 5 $version = NULL; 12 // $version = $match[1]; 14 $version = $match[2]; 17 return $version;
|
/PHP-8.1/ext/dom/tests/ |
H A D | DOMEntity_fields.phpt | 8 <?xml version="1.0"?> 40 echo "version: "; 41 var_dump($entity->version); 52 version: NULL 60 version: NULL 68 version: NULL 76 version: NULL 84 version: NULL 92 version: NULL 100 version: NULL
|
H A D | DOMParentNode_empty_argument.phpt | 8 $dom->loadXML('<?xml version="1.0"?><root><node/></root>'); 68 <?xml version="1.0"?> 70 <?xml version="1.0"?> 72 <?xml version="1.0"?> 76 <?xml version="1.0"?> 79 <?xml version="1.0"?> 82 <?xml version="1.0"?> 84 <?xml version="1.0"?>
|
H A D | gh8996.phpt | 84 …entSleepWakeup":1:{s:43:"%0SerializableDomDocumentSleepWakeup%0xmlData";s:39:"<?xml version="1.0"?> 89 …entSleepWakeup":1:{s:43:"%0SerializableDomDocumentSleepWakeup%0xmlData";s:39:"<?xml version="1.0"?> 95 <?xml version="1.0"?> 100 O:47:"SerializableDomDocument__Serialize__Unserialize":1:{s:7:"xmlData";s:39:"<?xml version="1.0"?> 106 <?xml version="1.0"?> 113 C:43:"SerializableDomDocumentSerializeUnserialize":39:{<?xml version="1.0"?> 119 <?xml version="1.0"?>
|
/PHP-8.1/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.1/ext/pgsql/tests/ |
H A D | 00version.phpt | 2 PostgreSQL version 9 // Get postgresql version for easier debugging. 10 // Execute run-test.php with --keep-all to get version string in 00version.log or 00version.out
|
/PHP-8.1/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.1/scripts/ |
H A D | php-config.in | 7 version="@PHP_VERSION@" 72 --version) 73 echo $version;; 92 --version [$version]
|
/PHP-8.1/ext/soap/tests/bugs/ |
H A D | bug35142.phpt | 27 function __doRequest($request, $location, $action, $version, $one_way = 0): ?string { 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): ?string { 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): ?string { 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.1/ext/sqlite3/tests/ |
H A D | bug73068.phpt | 7 $version = SQLite3::version()['versionNumber']; 8 if ($version >= 3011000 && $version < 3014002) die('skip libsqlite 3.11.0 to 3.14.1 exhibit erroneo…
|
/PHP-8.1/ext/pdo_firebird/ |
H A D | pdo_firebird.c | 84 char version[64]; in PHP_MINFO_FUNCTION() local 85 isc_get_client_version(version); in PHP_MINFO_FUNCTION() 89 php_info_print_table_row(2, "Client Library Version", version); in PHP_MINFO_FUNCTION()
|
/PHP-8.1/ext/dom/tests/manually_call_constructor/ |
H A D | documentfragment.phpt | 15 <?xml version="1.0"?> 29 <?xml version="1.0"?> 31 <?xml version="1.0"?>
|