Home
last modified time | relevance | path

Searched refs:default (Results 1 – 25 of 829) sorted by relevance

12345678910>>...34

/PHP-8.1/Zend/tests/
H A Dbug69889.phpt7 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 D034.phpt2 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 Dunset_cv11.phpt5 $x = array("default"=>"ok");
8 unset($cf['default']);
14 ["default"]=>
18 ["default"]=>
/PHP-8.1/tests/lang/
H A D020.phpt22 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.1/ext/standard/tests/array/
H A Dsizeof_basic2.phpt6 * 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 Darray_rand_basic1.phpt2 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 Darray_merge_recursive_variation1.phpt88 // 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, bool given
[all …]
H A Darray_merge_recursive_basic1.phpt2 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.1/Zend/tests/match/
H A D003.phpt2 Match expression default case
10 default => 'default',
21 default
24 default
H A D038.phpt2 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.1/ext/filter/tests/
H A D051.phpt2 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.1/ext/dom/tests/
H A DDOMDocument_loadXML_variation4.phpt26 <!ATTLIST title default CDATA "default title">
32default="default title">The Grapes of Wrath</title><author>John Steinbeck</author></book><book><ti…
H A DDOMDocument_load_variation4.phpt25default="default title">The Grapes of Wrath</title><author>John Steinbeck</author></book><book><ti…
/PHP-8.1/ext/standard/tests/strings/
H A Dchunk_split_basic.phpt7 * 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 Dchunk_split_variation13.phpt2 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.1/tests/output/
H A Dob_020.phpt25 [0] => default output handler
29 [0] => default output handler
30 [1] => default output handler
34 [0] => default output handler
/PHP-8.1/ext/opcache/tests/match/
H A D004.phpt24 default => 'default',
69 …0003, 2: 0004, "2": 0005, 3: 0006, "3": 0007, 4: 0008, "4": 0009, 5: 0010, "5": 0011, default: 0012
80 0012 RETURN string("default")
81 string(7) "default"
82 string(7) "default"
93 string(7) "default"
94 string(7) "default"
H A D003.phpt20 default => 'default'
57 …har) 1: 0002, 2: 0003, 3: 0003, 4: 0004, 5: 0005, 6: 0005, 7: 0006, 8: 0007, 9: 0007, default: 0008
64 0008 RETURN string("default")
65 string(7) "default"
75 string(7) "default"
/PHP-8.1/ext/oci8/tests/
H A Dbind_char_3.phpt31 echo "Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: defa…
40 echo "Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
106 echo "Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
176 echo "Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
248 Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
253 Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
257 Test 1.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
286 Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
290 Test 2.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
317 Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
[all …]
H A Dbind_char_4.phpt33 echo "Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: defa…
42 echo "Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
108 echo "Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
178 echo "Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
250 Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
255 Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
259 Test 1.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
288 Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
292 Test 2.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
319 Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
[all …]
H A Dbind_char_3_11gR1.phpt31 echo "Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: defa…
40 echo "Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
106 echo "Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
176 echo "Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
248 Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
253 Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
257 Test 1.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
286 Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
290 Test 2.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
317 Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
[all …]
H A Dbind_char_4_11gR1.phpt33 echo "Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: defa…
42 echo "Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
108 echo "Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
178 echo "Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
250 Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
255 Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
259 Test 1.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
288 Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
292 Test 2.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
319 Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
[all …]
H A Dbind_char_1.phpt39 echo "Test 1.1: Type: default. Length: default\n";
74 echo "Test 2.1: Type: default. Length: default\n";
110 echo "Test 3.1: Type: default. Length: default\n";
146 echo "Test 4.1: Type: default. Length: default\n";
208 Test 1.1: Type: default. Length: default
210 Test 1.2: Type: AFC. Length: default
235 Test 2.1: Type: default. Length: default
237 Test 2.2: Type: AFC. Length: default
250 Test 3.1: Type: default. Length: default
255 Test 3.2: Type: AFC. Length: default
[all …]
H A Dbind_char_1_11gR1.phpt41 echo "Test 1.1: Type: default. Length: default\n";
76 echo "Test 2.1: Type: default. Length: default\n";
112 echo "Test 3.1: Type: default. Length: default\n";
148 echo "Test 4.1: Type: default. Length: default\n";
210 Test 1.1: Type: default. Length: default
212 Test 1.2: Type: AFC. Length: default
237 Test 2.1: Type: default. Length: default
239 Test 2.2: Type: AFC. Length: default
252 Test 3.1: Type: default. Length: default
257 Test 3.2: Type: AFC. Length: default
[all …]
/PHP-8.1/sapi/phpdbg/tests/
H A Dmatch_breakpoints_001.phpt2 Test match default breakpoint with variable assignment
15 >00010: default => 'bar', // breakpoint #1
24 default => 'bar', // breakpoint #0
29 default => 'bar', // breakpoint #1

Completed in 28 milliseconds

12345678910>>...34