Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 25 of 251) sorted by relevance

1234567891011

/PHP-7.4/ext/spl/tests/
H A Dobserver_001.phpt76 $sub->attach($ob1);
77 $sub->attach($ob1);
78 $sub->attach($ob2);
79 $sub->attach($ob3);
81 $sub->notify();
83 $sub->detach($ob3);
85 $sub->notify();
87 $sub->detach($ob2);
88 $sub->detach($ob1);
90 $sub->notify();
[all …]
H A Dobserver_002.phpt114 $sub->attach($ob1);
116 $sub->attach($ob1);
117 $sub->attach($ob2);
118 $sub->attach($ob3);
121 $sub->notify();
123 $sub->detach($ob3);
126 $sub->notify();
128 $sub->detach($ob2);
129 $sub->detach($ob1);
132 $sub->notify();
[all …]
H A Dbug78863.phpt8 mkdir("$dir/sub");
9 touch("$dir/sub/good");
11 $it = new DirectoryIterator(__DIR__ . "/bug78863\0/sub");
27 unlink("$dir/sub/good");
28 rmdir("$dir/sub");
/PHP-7.4/Zend/tests/
H A Dbug60362.phpt2 Bug #60362: non-existent sub-sub keys should not have values
25 echo "sub-sub-key 'sub_sub' is not set.\n";
28 echo "sub-sub-key 0 is set: ";
31 echo "sub-sub-key 0 is not set.\n";
50 echo "sub-sub-key 'sub_sub' is empty.\n";
56 echo "sub-sub-key 0 is empty.\n";
58 echo "sub-sub-key 0 is not empty: ";
66 sub-sub-key 'sub_sub' is not set.
67 sub-sub-key 0 is set: string(1) "o"
72 sub-sub-key 'sub_sub' is empty.
[all …]
/PHP-7.4/ext/standard/
H A Dinfo.c351 sub = "Ultimate Edition"; in php_get_windows_name()
354 sub = "Home Basic Edition"; in php_get_windows_name()
360 sub = "Enterprise Edition"; in php_get_windows_name()
369 sub = "Business Edition"; in php_get_windows_name()
373 sub = "Standard Edition"; in php_get_windows_name()
376 sub = "Datacenter Edition"; in php_get_windows_name()
414 sub = "HPC Edition"; in php_get_windows_name()
486 sub = "Hyper-V Server"; in php_get_windows_name()
501 sub = "Starter N Edition"; in php_get_windows_name()
585 sub = "Windows 8 Edition"; in php_get_windows_name()
[all …]
/PHP-7.4/ext/spl/
H A Dphp_spl.c179 #define SPL_LIST_CLASSES(z_list, sub, allow, ce_flags) \ argument
182 SPL_ADD_CLASS(ArrayObject, z_list, sub, allow, ce_flags); \
192 SPL_ADD_CLASS(GlobIterator, z_list, sub, allow, ce_flags); \
220 SPL_ADD_CLASS(SplFileInfo, z_list, sub, allow, ce_flags); \
223 SPL_ADD_CLASS(SplHeap, z_list, sub, allow, ce_flags); \
224 SPL_ADD_CLASS(SplMinHeap, z_list, sub, allow, ce_flags); \
225 SPL_ADD_CLASS(SplMaxHeap, z_list, sub, allow, ce_flags); \
227 SPL_ADD_CLASS(SplObserver, z_list, sub, allow, ce_flags); \
229 SPL_ADD_CLASS(SplQueue, z_list, sub, allow, ce_flags); \
230 SPL_ADD_CLASS(SplStack, z_list, sub, allow, ce_flags); \
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Darray_chunk_variation4.phpt2 Test array_chunk() function : usage variations - array with diff. sub arrays
12 * Testing array_chunk() function - input array containing different sub arrays
26 echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_…
29 echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_…
32 echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_…
40 -- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as …
67 -- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' = t…
94 -- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' = f…
H A Darray_key_exists_variation5.phpt21 echo "\n-- Attempt to match key in sub-array --\n";
22 // this key is in the sub-array
25 echo "\n-- \$search arg points to sub-array --\n";
33 -- Attempt to match key in sub-array --
36 -- $search arg points to sub-array --
H A Darray_values_variation4.phpt13 * 2. Passed a sub-array as $input argument
19 $input = array ('zero' => 'zero', 'un' => 'one', 'sub' => array (1, 2, 3));
24 echo "\n-- Array values of a sub-array --\n";
25 var_dump(array_values($input['sub']));
54 -- Array values of a sub-array --
85 ["sub"]=>
H A Din_array_variation3.phpt2 Test in_array() function : usage variations - haystack as sub-array/object
12 /* Test in_array() with haystack as sub-array and object */
14 /* checking for sub-arrays with in_array() */
15 echo "*** Testing sub-arrays with in_array() ***\n";
24 //checking for element in a sub-array
48 *** Testing sub-arrays with in_array() ***
H A Dkrsort_variation7.phpt2 Test krsort() function : usage variations - sort array with diff. sub arrays
11 * testing krsort() by providing arrays contains sub arrays for $array argument
19 // array with diff sub arrays to be sorted
24 // array contains null sub array
30 // array contains sub arrays
37 echo "\n-- Testing krsort() by supplying various arrays containing sub arrays --\n";
60 -- Testing krsort() by supplying various arrays containing sub arrays --
H A Dksort_variation7.phpt2 Test ksort() function : usage variations - sort array with diff. sub arrays
11 * testing ksort() by providing arrays containing sub arrays for $array argument
19 // array with diff sub arrays to be sorted
24 // array contains null sub array
30 // array contains sub arrays
37 echo "\n-- Testing ksort() by supplying various arrays containing sub arrays --\n";
60 -- Testing ksort() by supplying various arrays containing sub arrays --
H A Darray_search_variation3.phpt2 Test array_search() function : usage variations - haystack as sub-array/object
11 /* checking for sub-arrays with array_search() */
12 echo "*** Testing sub-arrays with array_search() ***\n";
21 //checking for element in a sub-array
45 *** Testing sub-arrays with array_search() ***
H A Dsort_variation8.phpt2 Test sort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as defualt…
12 …* testing sort() by providing arrays contains sub arrays for $array argument with flowing flag val…
24 // array contains null sub array
30 // array containing sub arrays
36 echo "\n-- Testing sort() by supplying various arrays containing sub arrays --\n";
61 -- Testing sort() by supplying various arrays containing sub arrays --
/PHP-7.4/ext/standard/tests/strings/
H A Djoin_variation5.phpt2 Test join() function : usage variations - sub array as argument
12 * test join() by passing pieces as array containing sub array(s)
15 echo "*** Testing implode() : usage variations - sub arrays ***\n";
18 // pieces as array containing sub array
21 // glue as array & pieces as array containing sub array
24 // numeric value as glue, pieces as array containg sub array
34 *** Testing implode() : usage variations - sub arrays ***
H A Dhtmlentities23.phpt7 "\x8F\xA1", //2 sub, as 2nd is potentially valid as lead
8 "\x8F", //1 sub
9 "\x8F\xA0", //1 sub, A0 is not valid as sole/first byte
10 "\x8F\xA1\x21", //2 sub, no consume last
11 "\x8F\x21", //1 sub, no consume last
13 "\x8E", //1 sub
14 "\x8E\x21", //1 sub, no consume last
15 "\xB2\xFF", //1 sub
16 "\xB2", //1 sub
17 "\xB2\x21", //1 sub, no consume last
[all …]
/PHP-7.4/ext/date/tests/
H A Drfc-datetime_and_daylight_saving_time-type3-bs.phpt14 * Backward Transitions, sub().
22 . $end->sub($interval)->format($date_format) . "\n";
28 . $end->sub($interval)->format($date_format) . "\n";
34 . $end->sub($interval)->format($date_format) . "\n";
40 . $end->sub($interval)->format($date_format) . "\n";
47 . $end->sub($interval)->format($date_format) . "\n";
54 . $end->sub($interval)->format($date_format) . "\n";
60 . $end->sub($interval)->format($date_format) . "\n";
67 . $end->sub($interval)->format($date_format) . "\n";
73 . $end->sub($interval)->format($date_format) . "\n";
[all …]
H A Drfc-datetime_and_daylight_saving_time-type3-fs.phpt15 * Forward Transitions, sub().
22 . $end->sub($interval)->format($date_format) . "\n";
28 . $end->sub($interval)->format($date_format) . "\n";
34 . $end->sub($interval)->format($date_format) . "\n";
40 . $end->sub($interval)->format($date_format) . "\n";
46 . $end->sub($interval)->format($date_format) . "\n";
52 . $end->sub($interval)->format($date_format) . "\n";
58 . $end->sub($interval)->format($date_format) . "\n";
H A DDateTime_data-february.inc74 // NOTE: sub() produces different answer.
78 // NOTE: sub() produces different answer.
82 // NOTE: sub() produces different answer.
86 // NOTE: sub() produces different answer.
175 // NOTE: sub() produces different answer.
179 // NOTE: sub() produces different answer.
183 // NOTE: sub() produces different answer.
187 // NOTE: sub() produces different answer.
191 // NOTE: sub() produces different answer.
/PHP-7.4/ext/xmlreader/tests/
H A Dnext_basic.phpt8 $xml = '<?xml version="1.0" encoding="UTF-8"?><nodes><node1><sub /></node1>
9 <node2><sub /></node2><node3><sub /></node3><node4><sub /></node4></nodes>';
/PHP-7.4/ext/standard/tests/file/
H A Dfilesize_variation2-win32.phpt21 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
35 echo "-- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --\n";
42 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
70 *** Testing size of a dir, sub-dir and file with filesize() ***
76 -- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --
79 -- Creating a file inside sub-dir, and checking size of base, subdir and file created --
H A Dfilesize_variation2.phpt21 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
35 echo "-- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --\n";
42 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
70 *** Testing size of a dir, sub-dir and file with filesize() ***
76 -- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --
79 -- Creating a file inside sub-dir, and checking size of base, subdir and file created --
/PHP-7.4/ext/com_dotnet/tests/
H A Dvariants.phpt49 sub: 0
63 sub: 38.5
81 sub:
139 sub: 42
179 sub: 0
197 sub:
285 sub:
347 sub:
405 sub:
467 sub:
[all …]
H A Dvariants_x64.phpt52 sub: 0
66 sub: 38.5
84 sub:
142 sub: 42
182 sub: 0
200 sub:
288 sub:
350 sub:
408 sub:
470 sub:
[all …]
/PHP-7.4/ext/phar/tests/
H A Dphar_dir_iterate.phpt2 Phar object: iterate test with sub-directories and RecursiveIteratorIterator
14 $phar['sub/top.txt'] = 'there';
29 string(%d) "phar://%sphar_dir_iterate.phar.php/sub%ctop.txt"

Completed in 49 milliseconds

1234567891011