Home
last modified time | relevance | path

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

12345678910

/PHP-8.2/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-8.2/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: ";
67 sub-sub-key 'sub_sub' is not set.
68 sub-sub-key 0 is set: string(1) "o"
73 sub-sub-key 'sub_sub' is empty.
[all …]
/PHP-8.2/ext/standard/
H A Dinfo.c370 sub = "Ultimate Edition"; in php_get_windows_name()
373 sub = "Home Basic Edition"; in php_get_windows_name()
379 sub = "Enterprise Edition"; in php_get_windows_name()
388 sub = "Business Edition"; in php_get_windows_name()
392 sub = "Standard Edition"; in php_get_windows_name()
395 sub = "Datacenter Edition"; in php_get_windows_name()
433 sub = "HPC Edition"; in php_get_windows_name()
505 sub = "Hyper-V Server"; in php_get_windows_name()
520 sub = "Starter N Edition"; in php_get_windows_name()
604 sub = "Windows 8 Edition"; in php_get_windows_name()
[all …]
/PHP-8.2/ext/spl/
H A Dphp_spl.c162 #define SPL_LIST_CLASSES(z_list, sub, allow, ce_flags) \ argument
165 SPL_ADD_CLASS(ArrayObject, z_list, sub, allow, ce_flags); \
175 SPL_ADD_CLASS(GlobIterator, z_list, sub, allow, ce_flags); \
203 SPL_ADD_CLASS(SplFileInfo, z_list, sub, allow, ce_flags); \
206 SPL_ADD_CLASS(SplHeap, z_list, sub, allow, ce_flags); \
207 SPL_ADD_CLASS(SplMinHeap, z_list, sub, allow, ce_flags); \
208 SPL_ADD_CLASS(SplMaxHeap, z_list, sub, allow, ce_flags); \
210 SPL_ADD_CLASS(SplObserver, z_list, sub, allow, ce_flags); \
212 SPL_ADD_CLASS(SplQueue, z_list, sub, allow, ce_flags); \
213 SPL_ADD_CLASS(SplStack, z_list, sub, allow, ce_flags); \
[all …]
/PHP-8.2/ext/standard/tests/array/
H A Darray_chunk_variation4.phpt2 Test array_chunk() function : usage variations - array with diff. sub arrays
6 * Testing array_chunk() function - input array containing different sub arrays
20 echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_…
23 echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_…
26 echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_…
34 -- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as …
61 -- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' = t…
88 -- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' = f…
H A Darray_key_exists_variation5.phpt15 echo "\n-- Attempt to match key in sub-array --\n";
16 // this key is in the sub-array
19 echo "\n-- \$search arg points to sub-array --\n";
27 -- Attempt to match key in sub-array --
30 -- $search arg points to sub-array --
H A Darray_values_variation4.phpt8 * 2. Passed a sub-array as $input argument
14 $input = array ('zero' => 'zero', 'un' => 'one', 'sub' => array (1, 2, 3));
19 echo "\n-- Array values of a sub-array --\n";
20 var_dump(array_values($input['sub']));
49 -- Array values of a sub-array --
80 ["sub"]=>
H A Din_array_variation3.phpt2 Test in_array() function : usage variations - haystack as sub-array/object
5 /* Test in_array() with haystack as sub-array and object */
7 /* checking for sub-arrays with in_array() */
8 echo "*** Testing sub-arrays with in_array() ***\n";
17 //checking for element in a sub-array
49 *** Testing sub-arrays with in_array() ***
H A Dkrsort_variation7.phpt2 Test krsort() function : usage variations - sort array with diff. sub arrays
6 * testing krsort() by providing arrays contains sub arrays for $array argument
14 // array with diff sub arrays to be sorted
19 // array contains null sub array
25 // array contains sub arrays
32 echo "\n-- Testing krsort() by supplying various arrays containing sub arrays --\n";
55 -- 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
6 * testing ksort() by providing arrays containing sub arrays for $array argument
14 // array with diff sub arrays to be sorted
19 // array contains null sub array
25 // array contains sub arrays
32 echo "\n-- Testing ksort() by supplying various arrays containing sub arrays --\n";
55 -- 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
5 /* checking for sub-arrays with array_search() */
6 echo "*** Testing sub-arrays with array_search() ***\n";
15 //checking for element in a sub-array
47 *** Testing sub-arrays with array_search() ***
H A Dend_variation2.phpt8 * 2. a sub-array
19 echo "\n-- Pass a sub-array as \$array_arg --\n";
35 -- Pass a sub-array as $array_arg --
H A Dsort_variation8.phpt2 Test sort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as default…
6 …* testing sort() by providing arrays contains sub arrays for $array argument with flowing flag val…
18 // array contains null sub array
24 // array containing sub arrays
30 echo "\n-- Testing sort() by supplying various arrays containing sub arrays --\n";
55 -- Testing sort() by supplying various arrays containing sub arrays --
/PHP-8.2/ext/standard/tests/strings/
H A Djoin_variation5.phpt2 Test join() function : usage variations - sub array as argument
6 * test join() by passing pieces as array containing sub array(s)
9 echo "*** Testing implode() : usage variations - sub arrays ***\n";
12 // pieces as array containing sub array
15 // glue as array & pieces as array containing sub array
22 // numeric value as glue, pieces as array containing sub array
32 *** 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-8.2/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.phpt13 * Forward Transitions, sub().
20 . $end->sub($interval)->format($date_format) . "\n";
26 . $end->sub($interval)->format($date_format) . "\n";
32 . $end->sub($interval)->format($date_format) . "\n";
38 . $end->sub($interval)->format($date_format) . "\n";
44 . $end->sub($interval)->format($date_format) . "\n";
50 . $end->sub($interval)->format($date_format) . "\n";
56 . $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-8.2/ext/standard/tests/file/
H A Dfilesize_variation2-win32.phpt15 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
29 echo "-- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --\n";
36 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
64 *** Testing size of a dir, sub-dir and file with filesize() ***
70 -- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --
73 -- Creating a file inside sub-dir, and checking size of base, subdir and file created --
H A Dfilesize_variation2.phpt15 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
29 echo "-- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --\n";
36 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
64 *** Testing size of a dir, sub-dir and file with filesize() ***
70 -- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --
73 -- Creating a file inside sub-dir, and checking size of base, subdir and file created --
/PHP-8.2/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-8.2/ext/com_dotnet/tests/
H A Dvariants.phpt50 sub: 0
64 sub: 38.5
82 sub:
140 sub: 42
180 sub: 0
198 sub:
286 sub:
348 sub:
406 sub:
468 sub:
[all …]
H A Dvariants_x64.phpt53 sub: 0
67 sub: 38.5
85 sub:
143 sub: 42
183 sub: 0
201 sub:
289 sub:
351 sub:
409 sub:
471 sub:
[all …]

Completed in 91 milliseconds

12345678910