/PHP-8.2/ext/standard/tests/array/ |
H A D | next_variation2.phpt | 8 * 2. a sub-array 20 echo "\n-- Pass a sub-array as \$array_arg --\n"; 37 -- Pass a sub-array as $array_arg --
|
H A D | prev_variation2.phpt | 8 * 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 D | arsort_variation8.phpt | 2 Test arsort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as defau… 6 …* testing arsort() by providing arrays contains sub arrays for $array argument with flowing flag v… 19 // array contains null sub array 25 // array contains sub arrays 32 echo "\n-- Testing arsort() by supplying various arrays containing sub arrays --\n"; 57 -- Testing arsort() by supplying various arrays containing sub arrays --
|
H A D | asort_variation8.phpt | 2 Test asort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as defaul… 6 …* testing asort() by providing arrays contains sub arrays for $array argument with flowing flag va… 19 // array contains null sub array 25 // array contains sub arrays 32 echo "\n-- Testing asort() by supplying various arrays containing sub arrays --\n"; 57 -- Testing asort() by supplying various arrays containing sub arrays --
|
H A D | array_slice_variation8.phpt | 8 * 2. a sub-array as $input argument 18 echo "\n-- \$input is a sub-array --\n"; 43 -- $input is a sub-array --
|
H A D | array_push_variation3.phpt | 8 * 2. as sub-array as $stack arg 19 echo "\n-- Pass sub-array as \$stack argument --\n"; 46 -- Pass sub-array as $stack argument --
|
H A D | array_merge_variation8.phpt | 17 echo "\n-- Merge an array and a sub-array --\n"; 47 -- Merge an array and a sub-array --
|
H A D | array_change_key_case_variation6.phpt | 18 echo "\n-- Pass a sub-array as \$input argument --\n"; 57 -- Pass a sub-array as $input argument --
|
/PHP-8.2/ext/gd/libgd/ |
H A D | gd_filter.c | 29 int gdImageScatter(gdImagePtr im, int sub, int plus) in gdImageScatter() argument 33 s.sub = sub; in gdImageScatter() 40 int gdImageScatterColor(gdImagePtr im, int sub, int plus, int colors[], unsigned int num_colors) in gdImageScatterColor() argument 44 s.sub = sub; in gdImageScatterColor() 58 int sub = scatter->sub, plus = scatter->plus; in gdImageScatterEx() local 60 if (plus == 0 && sub == 0) { in gdImageScatterEx() 63 else if (sub >= plus) { in gdImageScatterEx() 72 dest_x = (int)(x + ((rand() % (plus - sub)) + sub)); in gdImageScatterEx() 73 dest_y = (int)(y + ((rand() % (plus - sub)) + sub)); in gdImageScatterEx() 94 dest_x = (int)(x + ((rand() % (plus - sub)) + sub)); in gdImageScatterEx() [all …]
|
/PHP-8.2/ext/phar/tests/ |
H A D | phar_dir_iterate.phpt | 2 Phar object: iterate test with sub-directories and RecursiveIteratorIterator 14 $phar['sub/top.txt'] = 'there'; 28 string(%d) "phar://%sphar_dir_iterate.phar.php/sub%ctop.txt"
|
H A D | dir.phpt | 37 file_put_contents('phar://' . __DIR__ . '/ok.phar/sub/directory.txt', 'hi'); 38 mkdir('phar://' . __DIR__ . '/ok.phar/sub'); 39 mkdir('phar://' . __DIR__ . '/ok.phar/sub/directory.txt'); 72 Warning: mkdir(): phar error: cannot create directory "sub" in phar "%sok.phar", directory already … 74 …mkdir(): phar error: cannot create directory "sub/directory.txt" in phar "%sok.phar", phar error: …
|
/PHP-8.2/ext/date/tests/ |
H A D | bug49059.phpt | 2 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
|
H A D | rfc-datetime_and_daylight_saving_time-type1.phpt | 95 * Forward Transitions, sub(). 102 . $end->sub($interval)->format($date_format) . "\n"; 108 . $end->sub($interval)->format($date_format) . "\n"; 114 . $end->sub($interval)->format($date_format) . "\n"; 120 . $end->sub($interval)->format($date_format) . "\n"; 126 . $end->sub($interval)->format($date_format) . "\n"; 132 . $end->sub($interval)->format($date_format) . "\n"; 138 . $end->sub($interval)->format($date_format) . "\n"; 260 * Backward Transitions, sub(). 267 . $end->sub($interval)->format($date_format) . "\n"; [all …]
|
H A D | bug80610.phpt | 7 $expectEaster->sub($interval); 13 $expectEaster->sub($interval); 19 $expectEaster->sub($interval);
|
H A D | bug80913.phpt | 2 Bug #80913 (DateTime(Immutable)::sub around DST yield incorrect time) 6 $_30mbefore = (clone $date)->sub(new DateInterval('PT30M'));
|
H A D | rfc-datetime_and_daylight_saving_time-type2.phpt | 96 * 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 D | bug55253.phpt | 2 Bug #55253 (DateTime::add() and sub() result -1 hour on objects with time zone type 2) 30 $date3->sub($interval); 31 $date2->sub($interval);
|
H A D | DateTime_data-dates.inc | 23 // NOTE: sub() produces different answer. 52 // NOTE: sub() produces different answer.
|
/PHP-8.2/ext/standard/tests/class_object/ |
H A D | is_a.phpt | 15 function _is_a($sub) { 18 …echo str_pad('is_a( OBJECT:'.get_class($this).', '.$sub.') = ', 60) . (is_a($this, $sub) ? 'yes' :… 19 …echo str_pad('is_a( STRING:'.get_class($this).', '.$sub.') = ', 60). (is_a(get_class($this), $sub)… 20 …cho str_pad('is_a( STRING:'.get_class($this).', '.$sub.', true) = ', 60). (is_a(get_class($this), … 21 …_pad('is_subclass_of( OBJECT:'.get_class($this).', '.$sub.') = ', 60). (is_subclass_of($this, $su… 22 …'is_subclass_of( STRING:'.get_class($this).', '.$sub.') = ', 60). (is_subclass_of(get_class($this)… 23 …_subclass_of( STRING:'.get_class($this).', '.$sub.',false) = ', 60). (is_subclass_of(get_class($th… 27 …echo str_pad('is_a( STRING:undefB, '.$sub.',true) = ', 60). (is_a('undefB', $sub, true) ? 'yes' :… 28 …echo str_pad('is_a( STRING:undefB, '.$sub.') = ', 60). (is_a('undefB', $sub) ? 'yes' : 'no')."\n"; 29 …echo str_pad('is_subclass_of( STRING:undefB, '.$sub.',false) = ', 60). (is_subclass_of('undefB', … [all …]
|
/PHP-8.2/ext/spl/ |
H A D | spl_functions.c | 67 void spl_add_classes(zend_class_entry *pce, zval *list, bool sub, int allow, int ce_flags) in spl_add_classes() argument 71 if (sub) { in spl_add_classes() 75 spl_add_classes(pce, list, sub, allow, ce_flags); in spl_add_classes()
|
/PHP-8.2/ext/standard/tests/dir/ |
H A D | scandir_variation5.phpt | 23 * |-> sub_dir ( sub parent ) 40 // remove the write and execute permission from sub parent 46 // remove the execute permission from parent dir, allowing all permission for sub dir 47 chmod($sub_dir_path, 0777); // all permission to sub dir
|
H A D | dir_variation7.phpt | 22 |-> sub_dir ( sub parent ) 39 // remove the write and execute permission from sub parent 45 // remove the execute permission from parent dir, allowing all permission for sub dir 46 chmod($sub_dir_path, 0777); // all permission to sub dir
|
H A D | opendir_variation5.phpt | 22 * |-> sub_dir ( sub parent ) 39 // remove the write and execute permission from sub parent 46 // remove the execute permission from parent dir, allowing all permission for sub dir 47 chmod($sub_dir_path, 0777); // all permission to sub dir
|
H A D | opendir_variation6-win32.phpt | 32 var_dump( opendir($dir_path . "/sub?dir1") ); 65 Warning: opendir(%s/opendir_variation6/sub?dir1): %s in %s on line %d 67 Warning: opendir(%s/opendir_variation6/sub?dir1): Failed to open directory: %s in %s on line %d
|
/PHP-8.2/ext/fileinfo/libmagic/ |
H A D | cdf_time.c | 73 int sub = mdays[m] + (m == 1 && isleap(year)); in cdf_getday() local 74 if (days < sub) in cdf_getday() 76 days -= sub; in cdf_getday()
|