/PHP-7.2/ext/spl/tests/ |
H A D | observer_001.phpt | 76 $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 D | observer_002.phpt | 114 $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 D | bug78863.phpt | 8 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.2/Zend/tests/ |
H A D | bug60362.phpt | 2 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.2/ext/standard/ |
H A D | info.c | 378 sub = "Ultimate Edition"; in php_get_windows_name() 381 sub = "Home Basic Edition"; in php_get_windows_name() 387 sub = "Enterprise Edition"; in php_get_windows_name() 396 sub = "Business Edition"; in php_get_windows_name() 400 sub = "Standard Edition"; in php_get_windows_name() 403 sub = "Datacenter Edition"; in php_get_windows_name() 441 sub = "HPC Edition"; in php_get_windows_name() 513 sub = "Hyper-V Server"; in php_get_windows_name() 528 sub = "Starter N Edition"; in php_get_windows_name() 612 sub = "Windows 8 Edition"; in php_get_windows_name() [all …]
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | htmlentities23.phpt | 7 "\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 D | join_variation5.phpt | 2 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-7.2/ext/spl/ |
H A D | php_spl.c | 179 #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.2/ext/standard/tests/array/ |
H A D | array_chunk_variation4.phpt | 2 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 D | array_key_exists_variation5.phpt | 21 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 D | array_values_variation4.phpt | 13 * 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 D | in_array_variation3.phpt | 2 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 D | krsort_variation7.phpt | 2 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 D | ksort_variation7.phpt | 2 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 D | array_search_variation3.phpt | 2 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 D | sort_variation8.phpt | 2 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.2/ext/date/tests/ |
H A D | rfc-datetime_and_daylight_saving_time-type3-bs.phpt | 14 * 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 D | rfc-datetime_and_daylight_saving_time-type3-fs.phpt | 15 * 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 D | DateTime_data-february.inc | 74 // 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.2/ext/spl/internal/ |
H A D | recursiveiteratoriterator.inc | 20 * 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 D | multipleiterator.inc | 27 /** 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-7.2/ext/standard/tests/file/ |
H A D | filesize_variation2-win32.phpt | 21 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 D | filesize_variation2.phpt | 21 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.2/ext/com_dotnet/tests/ |
H A D | variants.phpt | 49 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 D | variants_x64.phpt | 52 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 …]
|