Home
last modified time | relevance | path

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

12345678910

/PHP-5.3/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.3/ext/spl/
H A Dphp_spl.c156 #define SPL_LIST_CLASSES(z_list, sub, allow, ce_flags) \ argument
159 SPL_ADD_CLASS(ArrayObject, z_list, sub, allow, ce_flags); \
163 SPL_ADD_CLASS(Countable, z_list, sub, allow, ce_flags); \
196 SPL_ADD_CLASS(SplFileInfo, z_list, sub, allow, ce_flags); \
199 SPL_ADD_CLASS(SplHeap, z_list, sub, allow, ce_flags); \
200 SPL_ADD_CLASS(SplMinHeap, z_list, sub, allow, ce_flags); \
201 SPL_ADD_CLASS(SplMaxHeap, z_list, sub, allow, ce_flags); \
203 SPL_ADD_CLASS(SplObserver, z_list, sub, allow, ce_flags); \
205 SPL_ADD_CLASS(SplQueue, z_list, sub, allow, ce_flags); \
206 SPL_ADD_CLASS(SplStack, z_list, sub, allow, ce_flags); \
[all …]
/PHP-5.3/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.3/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 --
H A Dend_variation2.phpt13 * 2. a sub-array
24 echo "\n-- Pass a sub-array as \$array_arg --\n";
41 -- Pass a sub-array as $array_arg --
H A Darsort_variation8.phpt2 Test arsort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as defau…
12 …* testing arsort() by providing arrays contains sub arrays for $array argument with flowing flag v…
25 // array contains null sub array
31 // array contains sub arrays
38 echo "\n-- Testing arsort() by supplying various arrays containing sub arrays --\n";
63 -- Testing arsort() by supplying various arrays containing sub arrays --
H A Dasort_variation8.phpt2 Test asort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as defaul…
12 …* testing asort() by providing arrays contains sub arrays for $array argument with flowing flag va…
25 // array contains null sub array
31 // array contains sub arrays
38 echo "\n-- Testing asort() by supplying various arrays containing sub arrays --\n";
63 -- Testing asort() by supplying various arrays containing sub arrays --
/PHP-5.3/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 ***
/PHP-5.3/ext/standard/
H A Dinfo.c307 sub = "Ultimate Edition"; in php_get_windows_name()
319 sub = "Business Edition"; in php_get_windows_name()
322 sub = "Starter Edition"; in php_get_windows_name()
349 sub = "Standard Edition"; in php_get_windows_name()
397 sub = "Web Edition"; in php_get_windows_name()
406 sub = "Home Edition"; in php_get_windows_name()
407 else sub = "Professional"; in php_get_windows_name()
414 sub = "Professional"; in php_get_windows_name()
419 sub = "Advanced Server"; in php_get_windows_name()
420 else sub = "Server"; in php_get_windows_name()
[all …]
/PHP-5.3/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.3/ext/date/tests/
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 …]
H A Dbug49059.phpt2 Bug #49059 (DateTime::diff() repeats previous sub() operation)
14 $date1 = $date1->sub(new DateInterval("P2D"));
15 print "\$date1 after sub: " . $date1->format("Y-m-d") . "\n";
30 $date1 after sub: 2009-03-25
/PHP-5.3/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.3/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 39 milliseconds

12345678910