Home
last modified time | relevance | path

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

12345678910>>...32

/PHP-8.0/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.0/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.0/ext/standard/tests/array/
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 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_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.0/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.0/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))));
H A Dbug42718.phpt2 Bug #42718 (unsafe_raw filter not applied when configured as default filter)
4 FILTER_UNSAFE_RAW not applied when configured as default filter, even with flags
8 filter.default=unsafe_raw
14 echo ini_get('filter.default') . "\n";
/PHP-8.0/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…
/PHP-8.0/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.0/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.0/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.0/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
H A Dmatch_breakpoints_002.phpt2 Test match default breakpoint with property assignment
15 >00012: default => 'bar', // breakpoint #1
26 default => 'bar', // breakpoint #0
31 default => 'bar', // breakpoint #1
H A Dmatch_breakpoints_003.phpt2 Test match default breakpoint with dim assignment
15 >00012: default => 'bar', // breakpoint #1
26 default => 'bar', // breakpoint #0
31 default => 'bar', // breakpoint #1
/PHP-8.0/ext/oci8/tests/
H A Dbind_char_3.phpt30 echo "Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: defa…
39 echo "Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
105 echo "Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
175 echo "Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
247 Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
252 Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
256 Test 1.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
285 Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
289 Test 2.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
316 Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
[all …]
H A Dbind_char_3_11gR1.phpt30 echo "Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: defa…
39 echo "Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
105 echo "Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
175 echo "Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: defa…
247 Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
252 Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
256 Test 1.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
285 Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
289 Test 2.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
316 Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
[all …]
H A Dbind_char_4.phpt32 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 Dbind_char_4_11gR1.phpt32 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 …]

Completed in 25 milliseconds

12345678910>>...32