/PHP-8.3/Zend/tests/ |
H A D | bug69889.phpt | 7 var_dump($foo[0] ?? "default"); 9 var_dump($foo[5] ?? "default"); 10 var_dump(isset($foo[5]) ? $foo[5] : "default"); 12 var_dump($foo["str"] ?? "default"); 13 var_dump(isset($foo["str"]) ? $foo["str"] : "default"); 18 string(7) "default" 19 string(7) "default" 20 string(7) "default" 21 string(7) "default"
|
H A D | 034.phpt | 2 Testing multiples 'default:' in switch 13 default: 16 default: 19 default: 26 Fatal error: Switch statements may only contain one default clause in %s on line 13
|
H A D | unset_cv11.phpt | 5 $x = array("default"=>"ok"); 8 unset($cf['default']); 14 ["default"]=> 18 ["default"]=>
|
/PHP-8.3/tests/lang/ |
H A D | 020.phpt | 22 default: 40 default: 48 Inner default... 51 Inner default... 54 Inner default... 57 Inner default... 60 Inner default... 63 Inner default... 66 Inner default... 69 Inner default... [all …]
|
/PHP-8.3/ext/standard/tests/array/ |
H A D | sizeof_basic2.phpt | 6 * in default, COUNT_NORMAL and COUNT_RECURSIVE modes. 19 echo "default mode: "; 30 echo "default mode: "; 41 echo "default mode: "; 52 echo "default mode: "; 66 default mode: int(4) 72 -- Testing sizeof() with string array in default, COUNT_NORMAL, COUNT_RECURSIVE modes -- 73 default mode: int(3) 80 default mode: int(3) 86 -- Testing sizeof() with mixed array in default, COUNT_NORMAL, COUNT_RECURSIVE modes -- [all …]
|
H A D | array_rand_basic1.phpt | 2 Test array_rand() function : basic functionality - array with default keys 6 * Test array_rand() when array with default keys is passed to 'input' argument 9 echo "*** Testing array_rand() : array with default keys ***\n"; 17 echo"\n-- with all default and optional arguments --\n"; 20 // Calling array_rand() with default arguments 21 echo"\n-- with default argument --\n"; 27 *** Testing array_rand() : array with default keys *** 29 -- with all default and optional arguments -- 45 -- with default argument --
|
H A D | array_merge_recursive_variation1.phpt | 88 // with default argument 89 echo "\n-- With default argument --"; 116 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, int given 120 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, int given 124 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, int given 128 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, int given 132 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, float given 152 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, null given 156 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, null given 160 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, true given [all …]
|
H A D | array_merge_recursive_basic1.phpt | 2 Test array_merge_recursive() function : basic functionality - array with default keys 5 echo "*** Testing array_merge_recursive() : array with default keys ***\n"; 16 // Calling array_merge_recursive() with default arguments 17 echo "-- With default argument --\n"; 28 *** Testing array_merge_recursive() : array with default keys *** 32 -- With default argument --
|
/PHP-8.3/Zend/tests/match/ |
H A D | 003.phpt | 2 Match expression default case 10 default => 'default', 21 default 24 default
|
H A D | 038.phpt | 2 Test multiple default arms in match in different arms 7 default => 'foo', 10 default => 'qux', 15 Fatal error: Match expressions may only contain one default arm in %s on line 7
|
/PHP-8.3/ext/dom/tests/ |
H A D | DOMElement_setAttributeNS_prefix_conflict.phpt | 7 echo "--- Non-default namespace test case ---\n"; 26 --- Non-default namespace test case --- 28 <container xmlns:foo="http://php.net" xmlns:default="http://php.net/2" foo:bar="yes" default:bar="n… 30 <container xmlns:foo="http://php.net" xmlns:default="http://php.net/2" foo:bar="yes" default:bar="n… 33 <container xmlns="http://php.net" xmlns:default="http://php.net/2" bar="yes" default:bar="no1"/> 35 <container xmlns="http://php.net" xmlns:default="http://php.net/2" bar="yes" default:bar="no2"/>
|
H A D | DOMDocument_loadXML_variation4.phpt | 24 <!ATTLIST title default CDATA "default title"> 30 …default="default title">The Grapes of Wrath</title><author>John Steinbeck</author></book><book><ti…
|
H A D | DOMDocument_importNode_attribute_prefix_conflict.phpt | 8 echo "--- Non-default namespace test case without a default namespace in the destination ---\n"; 21 echo "--- Non-default namespace test case with a default namespace in the destination ---\n"; 36 // We don't expect the namespace to be imported because default namespaces on the same element don'… 51 --- Non-default namespace test case without a default namespace in the destination --- 55 <container xmlns:foo="http://php.net/2" xmlns:default="http://php.net" default:bar="yes"/> 56 --- Non-default namespace test case with a default namespace in the destination --- 60 …r xmlns="http://php.net" xmlns:foo="http://php.net/2" xmlns:default="http://php.net" default:bar="…
|
H A D | DOMDocument_load_variation4.phpt | 23 …default="default title">The Grapes of Wrath</title><author>John Steinbeck</author></book><book><ti…
|
/PHP-8.3/ext/filter/tests/ |
H A D | 051.phpt | 2 filter_var() and default values 7 $tmp = $default = 321; 8 var_dump(filter_var("123asd", FILTER_VALIDATE_INT, array("options"=>array("default"=>$default))));
|
/PHP-8.3/ext/standard/tests/strings/ |
H A D | chunk_split_basic.phpt | 7 * arguments as well as with default arguments chunklen and ending 23 // Calling chunk_split() with default ending string 24 echo "-- Testing chunk_split() with default ending string --\n"; 28 //Calling chunk_split() with default chunklen and ending string 29 echo "-- Testing chunk_split() with default chunklen and ending string --\n"; 38 -- Testing chunk_split() with default ending string -- 44 -- Testing chunk_split() with default chunklen and ending string --
|
H A D | chunk_split_variation13.phpt | 2 Test chunk_split() function : usage variations - default 'chunklen' with long string as 'str'argume… 6 * passing long string as 'str' and testing default value of chunklen which is 76 9 echo "*** Testing chunk_split() : default 'chunklen' with long string 'str' ***\n"; 17 //loop through each element of values for 'str' and default value of 'chunklen' 26 *** Testing chunk_split() : default 'chunklen' with long string 'str' ***
|
/PHP-8.3/tests/output/ |
H A D | ob_020.phpt | 25 [0] => default output handler 29 [0] => default output handler 30 [1] => default output handler 34 [0] => default output handler
|
/PHP-8.3/ext/dom/tests/createAttributeNS_prefix_conflicts/ |
H A D | setAttributeNS_without_prefix.phpt | 24 <container xmlns:default="http://php.net/ns1" default:hello=""/> 28 <container xmlns:default="http://php.net/ns1" xmlns:default1="http://php.net/ns2" default:hello="" … 32 <container xmlns:default="http://php.net/ns1" xmlns:default1="http://php.net/ns2" xmlns:default2="h… 36 …lns:default="http://php.net/ns1" xmlns:default1="http://php.net/ns2" xmlns:default2="http://php.ne…
|
/PHP-8.3/ext/opcache/tests/match/ |
H A D | 004.phpt | 25 default => 'default', 70 …0003, 2: 0004, "2": 0005, 3: 0006, "3": 0007, 4: 0008, "4": 0009, 5: 0010, "5": 0011, default: 0012 81 0012 RETURN string("default") 82 string(7) "default" 83 string(7) "default" 94 string(7) "default" 95 string(7) "default"
|
H A D | 003.phpt | 21 default => 'default' 58 …har) 1: 0002, 2: 0003, 3: 0003, 4: 0004, 5: 0005, 6: 0005, 7: 0006, 8: 0007, 9: 0007, default: 0008 65 0008 RETURN string("default") 66 string(7) "default" 76 string(7) "default"
|
/PHP-8.3/ext/oci8/tests/ |
H A D | bind_char_3.phpt | 32 echo "Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: defa… 41 echo "Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa… 107 echo "Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa… 177 echo "Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa… 249 Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default 254 Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: default 258 Test 1.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default 287 Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: default 291 Test 2.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default 318 Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: default [all …]
|
H A D | bind_char_4.phpt | 34 echo "Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: defa… 43 echo "Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa… 109 echo "Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa… 179 echo "Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa… 251 Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default 256 Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: default 260 Test 1.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default 289 Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: default 293 Test 2.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default 320 Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: default [all …]
|
H A D | bind_char_1.phpt | 40 echo "Test 1.1: Type: default. Length: default\n"; 75 echo "Test 2.1: Type: default. Length: default\n"; 111 echo "Test 3.1: Type: default. Length: default\n"; 147 echo "Test 4.1: Type: default. Length: default\n"; 209 Test 1.1: Type: default. Length: default 211 Test 1.2: Type: AFC. Length: default 236 Test 2.1: Type: default. Length: default 238 Test 2.2: Type: AFC. Length: default 251 Test 3.1: Type: default. Length: default 256 Test 3.2: Type: AFC. Length: default [all …]
|
/PHP-8.3/sapi/phpdbg/tests/ |
H A D | match_breakpoints_001.phpt | 2 Test match default breakpoint with variable assignment 15 >00010: default => 'bar', // breakpoint #1 24 default => 'bar', // breakpoint #0 29 default => 'bar', // breakpoint #1
|