Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 271) sorted by relevance

1234567891011

/PHP-7.4/ext/date/tests/
H A Dbug51096.phpt7 'last day',
10 'last day next month',
12 'last day of next month'
30 - month: 0; day: 1; first-day-of: false; last-day-of: false
33 last day
38 - month: 1; day: 0; first-day-of: false; last-day-of: false
42 - month: 1; day: 1; first-day-of: false; last-day-of: false
45 last day next month
50 - month: 1; day: 0; first-day-of: true; last-day-of: false
53 last day of next month
[all …]
H A Dbug69336.phpt2 Bug #69336 (Issues with "last day of <monthname>")
7 var_dump(date('d.m.Y',strtotime('last day of april')));
8 var_dump(date('d.m.Y',strtotime('last tuesday of march 2015')));
9 var_dump(date('d.m.Y',strtotime('last wednesday of march 2015')));
10 var_dump(date('d.m.Y',strtotime('last wednesday of april 2015')));
11 var_dump(date('d.m.Y',strtotime('last wednesday of march 2014')));
12 var_dump(date('d.m.Y',strtotime('last wednesday of april 2014')));
H A Dbug32588.phpt2 Bug #32588 (strtotime() error for 'last xxx' DST problem)
8 echo date('D Y/m/d/H:i:s', strtotime('last saturday', 1112703348)). "\n";
9 echo date('D Y/m/d/H:i:s', strtotime("last sunday", 1112703348)). "\n";
10 echo date('D Y/m/d/H:i:s', strtotime('last monday', 1112703348)). "\n";
H A DDateTime_setISODate_basic1.phpt27 // What date was is last year ?
29 echo "..same day last year was \"" . $datetime->format("D M j") . "\"\n";
37 ..same day last year was "Wed Jul 23"
/PHP-7.4/ext/standard/
H A Dsoundex.c31 size_t i, _small, str_len, code, last; in PHP_FUNCTION() local
71 last = -1; in PHP_FUNCTION()
82 last = soundex_table[code - 'A']; in PHP_FUNCTION()
89 if (code != last) { in PHP_FUNCTION()
93 last = code; in PHP_FUNCTION()
/PHP-7.4/ext/standard/tests/strings/
H A Dbug25671.phpt10 "This is a last string."),
11 "This is a last string.");
19 …:{i:0;s:23:"This is another string.";i:1;s:22:"This is a last string.";}i:3;s:22:"This is a last s…
20 …:{i:0;s:23:"This is another string.";i:1;s:22:"This is a last string.";}i:3;s:22:"This is a last s…
21 …ringtwo.";i:2;a:2:{i:0;s:23:"This is another string.";i:1;s:22:"This is a last string.";}i:3;s:18:…
22 …ringtwo.";i:2;a:2:{i:0;s:23:"This is another string.";i:1;s:22:"This is a last string.";}i:3;s:18:…
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_eol.c100 char last, cur; in phpdbg_eol_convert() local
109 last = cur = in[0]; in phpdbg_eol_convert()
112 if (0x0a == cur && last != 0x0d) { in phpdbg_eol_convert()
121 last = 0x0a; in phpdbg_eol_convert()
124 last = 0x0d; in phpdbg_eol_convert()
128 last = cur; in phpdbg_eol_convert()
150 last = cur = in[0]; in phpdbg_eol_convert()
156 if (kick != last) { in phpdbg_eol_convert()
163 last = cur; in phpdbg_eol_convert()
H A Dphpdbg_print.c62 end = op_array->last-1; in phpdbg_print_function_helper()
72 op_array->last); in phpdbg_print_function_helper()
80 op_array->last); in phpdbg_print_function_helper()
113 …"printinfo", "file=\"%s\" num=\"%d\"", "Context %s (%d ops)", PHPDBG_G(exec), PHPDBG_G(ops)->last); in PHPDBG_PRINT()
130 …"Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
132 …, "function=\"%s\" num=\"%d\"", "Stack in %s() (%d ops)", ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
136 …"printinfo", "file=\"%s\" num=\"%d\"", "Stack in %s (%d ops)", ZSTR_VAL(ops->filename), ops->last); in PHPDBG_PRINT()
138 phpdbg_notice("printinfo", "opline=\"%p\" num=\"%d\"", "Stack @ %p (%d ops)", ops, ops->last); in PHPDBG_PRINT()
196 (fbc->type == ZEND_USER_FUNCTION) ? fbc->op_array.last : 0); in PHPDBG_PRINT()
247 (fbc->type == ZEND_USER_FUNCTION) ? fbc->op_array.last : 0); in PHPDBG_PRINT()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c34 if (ptr == pool->last) { in mysqlnd_mempool_free_chunk()
40 pool->last = NULL; in mysqlnd_mempool_free_chunk()
56 if (ptr == pool->last in mysqlnd_mempool_resize_chunk()
69 pool->last = ptr = new_ptr; in mysqlnd_mempool_resize_chunk()
83 pool->last = ptr; in mysqlnd_mempool_get_chunk()
101 ret->last = NULL; in mysqlnd_mempool_create()
142 pool->last = NULL; in mysqlnd_mempool_restore_state()
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_substring.c76 PCRE2_SPTR first, last, entry; in pcre2_substring_copy_byname() local
81 &first, &last); in pcre2_substring_copy_byname()
164 PCRE2_SPTR first, last, entry; in pcre2_substring_get_byname() local
169 &first, &last); in pcre2_substring_get_byname()
271 PCRE2_SPTR first, last, entry; in pcre2_substring_length_byname() local
276 &first, &last); in pcre2_substring_length_byname()
496 PCRE2_SPTR last; in pcre2_substring_nametable_scan() local
499 first = last = entry; in pcre2_substring_nametable_scan()
505 while (last < lastentry) in pcre2_substring_nametable_scan()
508 last += entrysize; in pcre2_substring_nametable_scan()
[all …]
/PHP-7.4/main/
H A Dmergesort.c72 #define ICOPY_LIST(src, dst, last) \ argument
75 while(src < last)
81 #define CCOPY_LIST(src, dst, last) \ argument
84 while (src < last)
132 last = list2 + nmemb * size; in php_mergesort()
134 while (*EVAL(list2) != last) { in php_mergesort()
141 if (p2 != last) in php_mergesort()
227 last = list2 + nmemb*size; in php_mergesort()
266 u_char *f1, *f2, *s, *l2, *last, *p2, tmp; in setup() local
280 last = list1 + size * (n - i); in setup()
[all …]
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_env.c213 char *last = NULL; in fpm_env_init_main() local
231 if (last == NULL || fpm_globals.argv[i] == last + 1) { in fpm_env_init_main()
232 last = fpm_globals.argv[i] + strlen(fpm_globals.argv[i]); in fpm_env_init_main()
240 if (last == NULL || environ[i] == last + 1) { in fpm_env_init_main()
241 last = environ[i] + strlen(environ[i]); in fpm_env_init_main()
245 if (first == NULL || last == NULL) { in fpm_env_init_main()
249 fpm_env_argv_len = last - first; in fpm_env_init_main()
H A Dfpm_systemd.c16 static unsigned long int last=0; in fpm_systemd() local
40 …active, idle, requests, slow_req, ((float)requests - last) * 1000.0 / fpm_global_config.systemd_in… in fpm_systemd()
44 last = requests; in fpm_systemd()
/PHP-7.4/ext/intl/tests/
H A Dbreakiter_first_last_previous_current_error.phpt2 IntlBreakIterator::first()/last()/previous()/current(): arg errors
15 var_dump($bi->last(1));
24 Warning: IntlBreakIterator::last() expects exactly 0 parameters, 1 given in %s on line %d
26 Warning: IntlBreakIterator::last(): breakiter_last: bad arguments in %s on line %d
H A Dbreakiter_last_basic.phpt2 IntlBreakIterator::last(): basic test
15 var_dump($bi->last());
H A Dcpbi_getLastCodePoint_basic.phpt18 //first() and last() don't read codepoint and set the last code point var to -1
19 //The pointer is after the last read codepoint if moving forward and
20 //before the last read codepoint is moving backwards
34 $p = $codepoint_it->last();
/PHP-7.4/Zend/tests/variadic/
H A Donly_last_error.phpt2 Only the last argument can be variadic
10 Fatal error: Only the last parameter can be variadic in %s on line %d
/PHP-7.4/Zend/
H A Dzend_vm_trace_handlers.h29 static const char *last = NULL; in zend_vm_trace() local
35 if (EXPECTED(last)) { in zend_vm_trace()
37 memcpy(buf, last, last_len); in zend_vm_trace()
50 last = op; in zend_vm_trace()
/PHP-7.4/ext/imap/tests/
H A Dimap_alerts_error.phpt10 …erts that have been generated since the last page load or since the last imap_alerts() call, which…
/PHP-7.4/ext/opcache/Optimizer/
H A Dnop_removal.c42 shiftlist = (uint32_t *)do_alloca(sizeof(uint32_t) * op_array->last, use_heap); in zend_optimizer_nop_removal()
44 end = op_array->opcodes + op_array->last; in zend_optimizer_nop_removal()
76 op_array->last = new_count; in zend_optimizer_nop_removal()
77 end = op_array->opcodes + op_array->last; in zend_optimizer_nop_removal()
/PHP-7.4/ext/standard/tests/array/
H A Dbug22088.phpt7 $last = array_shift ($a);
12 $last = array_shift ($a);
H A Dend.phpt12 Description: Advances internal pointer of array to last element, and returns its value.
32 /* loop through $arrays to print the last element of each sub-array */
38 /* ensure that internal pointer is moved to last element */
58 // remove last element from array, rewind and check end()
59 echo "\n-- Remove last element from array --\n";
65 // remove any element !first, !last, rewind and check end()
66 echo "\n-- Remove any element from array apart from first and last element --\n";
198 -- Remove last element from array --
202 -- Remove any element from array apart from first and last element --
H A Dend_64bit.phpt12 Description: Advances internal pointer of array to last element, and returns its value.
32 /* loop through $arrays to print the last element of each sub-array */
38 /* ensure that internal pointer is moved to last element */
58 // remove last element from array, rewind and check end()
59 echo "\n-- Remove last element from array --\n";
65 // remove any element !first, !last, rewind and check end()
66 echo "\n-- Remove any element from array apart from first and last element --\n";
197 -- Remove last element from array --
201 -- Remove any element from array apart from first and last element --
/PHP-7.4/tests/lang/
H A Dbug30578.phpt13 echo "This should be displayed last.\n";
31 Buffered data: This should be displayed last.
/PHP-7.4/sapi/litespeed/
H A Dlscriu.c259 char *last; in LSCRIU_load_liblscapi() local
261 if (!(lib_handle = DL_LOAD(last = "liblscapi.so")) /*|| in LSCRIU_load_liblscapi()
264 s_pid, last, dlerror()); in LSCRIU_load_liblscapi()
265 else if (!(s_lscapi_dump_me = dlsym(lib_handle, last = "lscapi_dump_me")) || in LSCRIU_load_liblscapi()
266 !(s_lscapi_prepare_me = dlsym(lib_handle, last = "lscapi_prepare_me")) || in LSCRIU_load_liblscapi()
267 !(psem_open = dlsym(pthread_lib_handle, last = "sem_open")) || in LSCRIU_load_liblscapi()
268 !(psem_post = dlsym(pthread_lib_handle, last = "sem_post")) || in LSCRIU_load_liblscapi()
269 !(psem_close = dlsym(pthread_lib_handle, last = "sem_close"))) in LSCRIU_load_liblscapi()
271 s_pid, last, dlerror()); in LSCRIU_load_liblscapi()

Completed in 41 milliseconds

1234567891011