Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 1365) sorted by relevance

12345678910>>...55

/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_server_version.phpt17 $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 Dpdo_mysql_attr_client_version.phpt17 $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-src/ext/dom/tests/gh11830/
H A Ddocument_variation.phpt10 <?xml version="1.0"?>
45 <?xml version="1.0"?>
47 <?xml version="1.0"?>
53 <?xml version="1.0"?>
55 <?xml version="1.0"?>
61 <?xml version="1.0"?>
63 <?xml version="1.0"?>
69 <?xml version="1.0"?>
71 <?xml version="1.0"?>
77 <?xml version="1.0"?>
[all …]
H A Dhierarchy_variation.phpt10 <?xml version="1.0"?>
38 <?xml version="1.0"?>
40 <?xml version="1.0"?>
42 <?xml version="1.0"?>
44 <?xml version="1.0"?>
46 <?xml version="1.0"?>
/php-src/ext/dom/tests/
H A DDOMDocument_version_write.phpt2 DOMDocument::$version write
14 var_dump($dom->version);
15 $dom->version = "foobar";
16 var_dump($dom->version);
20 $dom->version = new MyThrowingStringable;
24 var_dump($dom->version);
30 <?xml version="foobar"?>
33 <?xml version="foobar"?>
H A DDOMElement_insertAdjacentElement.phpt95 <?xml version="1.0"?>
98 <?xml version="1.0"?>
101 <?xml version="1.0"?>
104 <?xml version="1.0"?>
108 <?xml version="1.0"?>
111 <?xml version="1.0"?>
114 <?xml version="1.0"?>
117 <?xml version="1.0"?>
122 <?xml version="1.0"?>
125 <?xml version="1.0"?>
[all …]
H A DDOMEntity_fields.phpt8 <?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 DDOMElement_insertAdjacentText.phpt9 $dom->loadXML('<?xml version="1.0"?><container><p>foo</p></container>');
61 <?xml version="1.0"?>
63 <?xml version="1.0"?>
65 <?xml version="1.0"?>
67 <?xml version="1.0"?>
70 <?xml version="1.0"?>
72 <?xml version="1.0"?>
74 <?xml version="1.0"?>
76 <?xml version="1.0"?>
H A DDOMDocument_importNode_attribute_prefix_conflict.phpt12 $dom1->loadXML('<?xml version="1.0"?><container xmlns:foo="http://php.net" foo:bar="yes"/>');
13 $dom2->loadXML('<?xml version="1.0"?><container xmlns:foo="http://php.net/2"/>');
25 $dom1->loadXML('<?xml version="1.0"?><container xmlns:foo="http://php.net" foo:bar="yes"/>');
42 $dom1->loadXML('<?xml version="1.0"?><container xmlns="http://php.net" bar="yes"/>');
43 $dom2->loadXML('<?xml version="1.0"?><container xmlns="http://php.net/2"/>');
54 <?xml version="1.0"?>
56 <?xml version="1.0"?>
63 <?xml version="1.0"?>
65 <?xml version="1.0"?>
68 <?xml version="1.0"?>
[all …]
H A DDOMParentNode_empty_argument.phpt8 $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"?>
/php-src/ext/pcre/tests/
H A Dpreg_match_error4.phpt39 "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 Dbug76514.phpt26 "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-src/ext/dom/tests/modern/spec/
H A DXMLDocument_version.phpt2 XMLDocument::$version
11 foreach (['0.1', '1.0', '1.1', '', 'foo'] as $version) {
13 $dom->xmlVersion = $version;
23 Invalid XML version
27 Invalid XML version
29 Invalid XML version
H A Dxml_serialize_formatting.phpt34 <?xml version="1.0" encoding="UTF-8"?>
37 <?xml version="1.0" encoding="UTF-8"?>
40 <?xml version="1.0" encoding="UTF-8"?>
46 <?xml version="1.0" encoding="UTF-8"?>
53 <?xml version="1.0" encoding="UTF-8"?>
56 <?xml version="1.0" encoding="UTF-8"?>
67 <?xml version="1.0" encoding="UTF-8"?>
/php-src/ext/curl/
H A Dsync-constants.php285 * @param string $version
291 function getHexVersion(string $version) : string argument
293 $parts = explode('.', $version);
300 throw new \RuntimeException('Invalid version number: ' . $version);
307 throw new \RuntimeException('Invalid version number: ' . $version);
313 throw new \RuntimeException('Invalid version number: ' . $version);
/php-src/ext/standard/tests/array/
H A Darray_sum_empty_array.phpt7 echo "array_sum() version:\n";
10 echo "array_reduce() version:\n";
14 array_sum() version:
16 array_reduce() version:
H A Darray_product_empty_array.phpt7 echo "array_product() version:\n";
10 echo "array_reduce() version:\n";
14 array_product() version:
16 array_reduce() version:
H A Darray_product_variation6.phpt9 echo "array_product() version:\n";
12 echo "array_reduce() version:\n";
16 array_product() version:
18 array_reduce() version:
H A Darray_sum_variation9.phpt9 echo "array_sum() version:\n";
12 echo "array_reduce() version:\n";
16 array_sum() version:
18 array_reduce() version:
H A Darray_product_variation5.phpt7 echo "array_product() version:\n";
10 echo "array_reduce() version:\n";
18 array_product() version:
22 array_reduce() version:
/php-src/ext/zlib/tests/
H A Dfunc.inc5 $version = NULL;
12 // $version = $match[1];
14 $version = $match[2];
17 return $version;
/php-src/ext/pdo_dblib/tests/
H A Ddbtds.phpt16 $version = $db->getAttribute(PDO::DBLIB_ATTR_TDS_VERSION);
17 var_dump((is_string($version) && strlen($version)) || $version === false);
/php-src/ext/gd/tests/
H A Dfunc.inc20 $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-src/ext/xsl/tests/xinclude/
H A Dxinclude.phpt12 $xml->loadXML('<?xml version="1.0"?><root/>');
16 <?xml version="1.0"?>
17 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
38 <?xml version="1.0"?>
40 <?xml version="1.0"?>
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_execute_stored_proc.phpt48 $version = 'unknown';
49 if (!mysqli_stmt_bind_result($stmt, $version) ||
53 if (($version == "unknown") || ($version == ""))
55 $version,
122 $version = 'unknown';
127 if ($version != "myversion")
129 $version,
148 $version = 'myversion';
164 $version = 'unknown';
169 if ($version !== "myversion")
[all …]

Completed in 57 milliseconds

12345678910>>...55