Home
last modified time | relevance | path

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

1234567891011

/PHP-5.5/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 …]
/PHP-5.5/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-5.5/ext/standard/
H A Dinfo.c395 sub = "Ultimate Edition"; in php_get_windows_name()
458 sub = "HPC Edition"; in php_get_windows_name()
530 sub = "Hyper-V Server"; in php_get_windows_name()
674 sub = "Web Edition"; in php_get_windows_name()
683 sub = "Home Edition"; in php_get_windows_name()
687 sub = "Starter Edition"; in php_get_windows_name()
691 sub = "Professional"; in php_get_windows_name()
699 sub = "Professional"; in php_get_windows_name()
704 sub = "Advanced Server"; in php_get_windows_name()
705 else sub = "Server"; in php_get_windows_name()
[all …]
/PHP-5.5/ext/standard/tests/strings/
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 …]
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 ***
/PHP-5.5/ext/spl/
H A Dphp_spl.c185 #define SPL_LIST_CLASSES(z_list, sub, allow, ce_flags) \ argument
188 SPL_ADD_CLASS(ArrayObject, z_list, sub, allow, ce_flags); \
193 SPL_ADD_CLASS(Countable, z_list, sub, allow, ce_flags); \
227 SPL_ADD_CLASS(SplFileInfo, z_list, sub, allow, ce_flags); \
230 SPL_ADD_CLASS(SplHeap, z_list, sub, allow, ce_flags); \
231 SPL_ADD_CLASS(SplMinHeap, z_list, sub, allow, ce_flags); \
232 SPL_ADD_CLASS(SplMaxHeap, z_list, sub, allow, ce_flags); \
234 SPL_ADD_CLASS(SplObserver, z_list, sub, allow, ce_flags); \
236 SPL_ADD_CLASS(SplQueue, z_list, sub, allow, ce_flags); \
237 SPL_ADD_CLASS(SplStack, z_list, sub, allow, ce_flags); \
[all …]
/PHP-5.5/ext/ereg/regex/
H A Dmain.c406 check(str, sub, should) in check() argument
408 regmatch_t sub;
425 if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) ||
426 (sub.rm_so != -1 && sub.rm_eo == -1) ||
427 (sub.rm_so != -1 && sub.rm_so < 0) ||
428 (sub.rm_eo != -1 && sub.rm_eo < 0) ) {
430 (long)sub.rm_eo);
437 if (sub.rm_so == -1)
443 (long)sub.rm_so, (long)sub.rm_eo);
447 len = (int)(sub.rm_eo - sub.rm_so);
[all …]
/PHP-5.5/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";
34 -- Attempt to match key in sub-array --
37 -- $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']));
55 -- Array values of a sub-array --
86 ["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-5.5/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.
H A Drfc-datetime_and_daylight_saving_time-type1.phpt96 * Forward Transitions, sub().
103 . $end->sub($interval)->format($date_format) . "\n";
109 . $end->sub($interval)->format($date_format) . "\n";
115 . $end->sub($interval)->format($date_format) . "\n";
121 . $end->sub($interval)->format($date_format) . "\n";
127 . $end->sub($interval)->format($date_format) . "\n";
133 . $end->sub($interval)->format($date_format) . "\n";
139 . $end->sub($interval)->format($date_format) . "\n";
262 * Backward Transitions, sub().
269 . $end->sub($interval)->format($date_format) . "\n";
[all …]
/PHP-5.5/ext/spl/internal/
H A Drecursiveiteratoriterator.inc20 * sub elements are recursed into.
116 $sub = callGetChildren();
127 $sub->recursed = false;
128 $sub->rewind();
129 if ($sub->valid()) {
130 $this->ait[++$this->count] = $sub;
131 if (!$sub instanceof RecursiveIterator) {
137 unset($sub);
156 /** @return Sub Iterator at given level or if unspecified the current sub
182 /** @return whether current sub iterators current element has children
[all …]
H A Dmultipleiterator.inc27 /** do not require all sub iterators to be valid in iteration */
30 /** require all sub iterators to be valid in iteration */
33 /** keys are created from sub iterators position */
36 /** keys are created from sub iterators associated infromation */
116 * @return whether all or one sub iterator is valid depending on flags.
117 * In mode MIT_NEED_ALL we expect all sub iterators to be valid and
119 * return true on the first valid sub iterator found. If no Iterator
151 /** @return false if no sub Iterator is attached and an array of
184 throw new RuntimeException('Called current() with non valid sub iterator');
194 /** @return false if no sub Iterator is attached and an array of
[all …]
/PHP-5.5/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-5.5/ext/com_dotnet/tests/
H A Dvariants.phpt48 sub: 0
62 sub: 38.5
80 sub:
138 sub: 42
178 sub: 0
196 sub:
284 sub:
346 sub:
404 sub:
466 sub:
[all …]

Completed in 91 milliseconds

1234567891011