/php-src/ext/date/tests/ |
H A D | date_period_unserialize3.phpt | 6 $start = new DateTime("2022-07-14 00:00:00", new DateTimeZone("UTC")); 9 $period = new DatePeriod($start, $interval, $end); 15 "start" => new DateTime, 33 ["start"]=>
|
H A D | bug52480.phpt | 9 // number of days between the start and end dates. Otherwise, days will be FALSE. 14 $start = new DateTime('2017-03-01', new DateTimeZone($timezone)); 17 if ($expectedDiff != (array) $start->diff($end)) {
|
H A D | DatePeriod_properties2.phpt | 13 "start", 34 $period->start->modify("+1 hour"); 45 Error: Cannot modify readonly property DatePeriod::$start 46 Error: Cannot modify readonly property DatePeriod::$start
|
H A D | date_period_include_end.phpt | 6 $start = new DateTime('2010-06-07'); 10 foreach (new DatePeriod($start, $interval, $end, DatePeriod::INCLUDE_END_DATE) as $day) {
|
H A D | DatePeriod_no_advance_on_valid.phpt | 6 $start = DateTime::createFromFormat('Y-m-d', '2022-01-01'); 9 $period = new DatePeriod($start, $interval, $end); 23 $period = new DatePeriod($start, $interval, $end, DatePeriod::EXCLUDE_START_DATE);
|
/php-src/ext/standard/tests/array/range/ |
H A D | range_inputs_null_variations.phpt | 27 Deprecated: range(): Passing null to parameter #1 ($start) of type string|int|float is deprecated i… 36 Deprecated: range(): Passing null to parameter #1 ($start) of type string|int|float is deprecated i… 69 Deprecated: range(): Passing null to parameter #1 ($start) of type string|int|float is deprecated i… 98 Deprecated: range(): Passing null to parameter #1 ($start) of type string|int|float is deprecated i… 100 Warning: range(): Argument #1 ($start) must be a single byte string if argument #2 ($end) is a sing… 108 …end) must be a single byte string if argument #1 ($start) is a single byte string, argument #1 ($s…
|
/php-src/Zend/ |
H A D | zend_mmap.h | 37 static zend_always_inline void zend_mmap_set_name(const void *start, size_t len, const char *name) in zend_mmap_set_name() argument 40 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, (unsigned long)start, len, (unsigned long)name); in zend_mmap_set_name()
|
/php-src/ext/zend_test/tests/ |
H A D | fiber_test_06.phpt | 13 var_dump($fiber->start()); // int(20) 21 var_dump($test->start()); // int(10) 23 var_dump($fiber->start()); // int(1)
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionFiber_bug_gh11121_1.phpt | 13 }))->start(); 17 $f->start(); 30 string(5) "start"
|
H A D | ReflectionFiber_bug_gh11121_2.phpt | 14 }))->start(); 18 $f->start(); 31 string(5) "start"
|
/php-src/ext/zip/tests/ |
H A D | oo_progress.phpt | 25 // Only check start/end as intermediate is not reliable 26 if ($r == 0.0) echo "start\n"; 38 start
|
/php-src/Zend/tests/fibers/ |
H A D | failing-nested-fiber.phpt | 12 $value = $fiber->start(1, 2); 17 $fiber->start(); 28 #3 %sfailing-nested-fiber.php(%d): Fiber->start()
|
H A D | start-arguments.phpt | 10 $x = $fiber->start(1); 18 $fiber->start('test'); 27 #1 %sstart-arguments.php(%d): Fiber->start('test')
|
H A D | debug-backtrace.phpt | 15 $fiber->start(); 21 #2 %sdebug-backtrace.php(12): Fiber->start()
|
H A D | throw-in-multiple-destroyed-fibers-after-shutdown.phpt | 15 $fiber1->start(); 25 $fiber2->start(); 30 $fiber->start();
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_disasm.c | 323 const void *start, argument 330 const void *orig_end = (void *)((char *)start + size); 419 p = (uintptr_t*)((char*)start + jmp_table_offset); 431 end = (void *)((char *)start + size); 434 cs_code = start; 435 cs_size = (uint8_t*)end - (uint8_t*)start; 441 count = cs_disasm(cs, start, (uint8_t*)end - (uint8_t*)start, (uintptr_t)start, 0, &insn); 473 cs_code = start; 474 cs_size = (uint8_t*)end - (uint8_t*)start; 650 const unsigned char *p = (unsigned char*)start + rodata_offset; [all …]
|
/php-src/ext/shmop/ |
H A D | shmop.c | 221 zend_long start, count; in PHP_FUNCTION() local 227 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oll", &shmid, shmop_ce, &start, &count) == FAILURE) { in PHP_FUNCTION() 233 if (start < 0 || start > shmop->size) { in PHP_FUNCTION() 238 if (count < 0 || start > (ZEND_LONG_MAX - count) || start + count > shmop->size) { in PHP_FUNCTION() 243 startaddr = shmop->addr + start; in PHP_FUNCTION() 244 bytes = count ? count : shmop->size - start; in PHP_FUNCTION()
|
/php-src/ext/xml/tests/ |
H A D | xml_set_element_handler_errors.phpt | 22 echo 'Invalid start callable type true:', PHP_EOL; 35 echo 'Invalid start callable type int:', PHP_EOL; 48 echo 'Invalid start callable, no object set and string not callable:', PHP_EOL; 61 echo 'Invalid start callable, string non existent method on set object:', PHP_EOL; 80 Invalid start callable type true: 84 Invalid start callable type int: 88 Invalid start callable, no object set and string not callable: 92 Invalid start callable, string non existent method on set object:
|
/php-src/ext/curl/tests/ |
H A D | bug45161.phpt | 19 $i = $start = $end = 100000.00; 28 $start = memory_get_usage() + 1024; 34 if ($start < memory_get_usage()) {
|
/php-src/Zend/tests/generators/ |
H A D | xrange.phpt | 6 function xrange($start, $end, $step = 1) { 7 for ($i = $start; $i <= $end; $i += $step) {
|
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitUtils.c | 197 stack->start = stack->end - start_size; in sljit_allocate_stack() 213 stack->start = new_start; in sljit_stack_resize() 267 stack->start = stack->end; in sljit_allocate_stack() 289 stack->start = stack->end - start_size; in sljit_allocate_stack() 311 aligned_old_start = ((sljit_uw)stack->start) & ~page_align; in sljit_stack_resize() 323 if (stack->start < new_start) { in sljit_stack_resize() 327 aligned_old_start = ((sljit_uw)stack->start) & ~page_align; in sljit_stack_resize() 338 stack->start = new_start; in sljit_stack_resize()
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | tokenizer.h | 71 lxb_char_t *start; member 256 size_t length = tkz->pos - tkz->start; in lxb_html_tokenizer_temp_realloc() 257 size_t new_size = (tkz->end - tkz->start) + size + 4096; in lxb_html_tokenizer_temp_realloc() 259 tkz->start = (lxb_char_t *)lexbor_realloc(tkz->start, new_size); in lxb_html_tokenizer_temp_realloc() 260 if (tkz->start == NULL) { in lxb_html_tokenizer_temp_realloc() 265 tkz->pos = tkz->start + length; in lxb_html_tokenizer_temp_realloc() 266 tkz->end = tkz->start + new_size; in lxb_html_tokenizer_temp_realloc()
|
/php-src/ext/hash/ |
H A D | bench.php | 14 $start = hrtime(true); variable 18 $time[$algo] += hrtime(true)-$start;
|
/php-src/ext/phar/ |
H A D | shortarc.php | 221 $start = 4 + $s[1]; 226 $len = unpack('V', substr($m, $start, 4)); 227 $start += 4; 229 $savepath = substr($m, $start, $len[1]); 230 $start += $len[1]; 234 … $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24))); 239 $start += 24 + $ret['m'][$savepath][5];
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | conv.c | 90 lexbor_conv_data_to_double(const lxb_char_t **start, size_t len) in lexbor_conv_data_to_double() argument 99 end = *start + len; in lexbor_conv_data_to_double() 109 switch (**start) { in lexbor_conv_data_to_double() 114 (*start)++; in lexbor_conv_data_to_double() 120 for (p = *start; p < end; p++) { in lexbor_conv_data_to_double() 193 *start = p; in lexbor_conv_data_to_double()
|