Home
last modified time | relevance | path

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

123456789

/PHP-8.0/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 Ddate_isodate_set_basic1.phpt21 // What date was is last year ?
23 echo "..same day last year was \"" . date_format($datetime, "D M j") . "\"\n";
30 ..same day last year was "Wed Jul 23"
H A DDateTime_setISODate_basic1.phpt21 // What date was is last year ?
23 echo "..same day last year was \"" . $datetime->format("D M j") . "\"\n";
30 ..same day last year was "Wed Jul 23"
/PHP-8.0/ext/standard/
H A Dsoundex.c28 size_t i, _small, str_len, code, last; in PHP_FUNCTION() local
64 last = -1; in PHP_FUNCTION()
75 last = soundex_table[code - 'A']; in PHP_FUNCTION()
82 if (code != last) { in PHP_FUNCTION()
86 last = code; in PHP_FUNCTION()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_eol.c98 char last, cur; in phpdbg_eol_convert() local
107 last = cur = in[0]; in phpdbg_eol_convert()
110 if (0x0a == cur && last != 0x0d) { in phpdbg_eol_convert()
119 last = 0x0a; in phpdbg_eol_convert()
122 last = 0x0d; in phpdbg_eol_convert()
126 last = cur; in phpdbg_eol_convert()
148 last = cur = in[0]; in phpdbg_eol_convert()
154 if (kick != last) { in phpdbg_eol_convert()
161 last = cur; in phpdbg_eol_convert()
H A Dphpdbg_print.c60 end = op_array->last-1; in phpdbg_print_function_helper()
70 op_array->last); in phpdbg_print_function_helper()
78 op_array->last); in phpdbg_print_function_helper()
111 …"printinfo", "file=\"%s\" num=\"%d\"", "Context %s (%d ops)", PHPDBG_G(exec), PHPDBG_G(ops)->last); in PHPDBG_PRINT()
128 …"Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
130 …, "function=\"%s\" num=\"%d\"", "Stack in %s() (%d ops)", ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
134 …"printinfo", "file=\"%s\" num=\"%d\"", "Stack in %s (%d ops)", ZSTR_VAL(ops->filename), ops->last); in PHPDBG_PRINT()
136 phpdbg_notice("printinfo", "opline=\"%p\" num=\"%d\"", "Stack @ %p (%d ops)", ops, ops->last); in PHPDBG_PRINT()
194 (fbc->type == ZEND_USER_FUNCTION) ? fbc->op_array.last : 0); in PHPDBG_PRINT()
245 (fbc->type == ZEND_USER_FUNCTION) ? fbc->op_array.last : 0); in PHPDBG_PRINT()
/PHP-8.0/ext/dom/
H A Dparentnode.c66 xmlNode *nodep, *last = NULL; in dom_parent_node_last_element_child_read() local
76 last = nodep->last; in dom_parent_node_last_element_child_read()
78 while (last && last->type != XML_ELEMENT_NODE) { in dom_parent_node_last_element_child_read()
79 last = last->prev; in dom_parent_node_last_element_child_read()
83 if (!last) { in dom_parent_node_last_element_child_read()
227 if (node == fragment->last) { in dom_fragment_assign_parent_node()
234 fragment->last = NULL; in dom_fragment_assign_parent_node()
248 prevsib = parentNode->last; in dom_parent_node_append()
257 parentNode->last = fragment->last; in dom_parent_node_append()
290 fragment->last->next = nextsib; in dom_parent_node_prepend()
[all …]
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c32 if (ptr == pool->last) { in mysqlnd_mempool_free_chunk()
38 pool->last = NULL; in mysqlnd_mempool_free_chunk()
54 if (ptr == pool->last in mysqlnd_mempool_resize_chunk()
67 pool->last = ptr = new_ptr; in mysqlnd_mempool_resize_chunk()
81 pool->last = ptr; in mysqlnd_mempool_get_chunk()
99 ret->last = NULL; in mysqlnd_mempool_create()
140 pool->last = NULL; in mysqlnd_mempool_restore_state()
/PHP-8.0/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-8.0/sapi/fpm/fpm/
H A Dfpm_env.c212 char *last = NULL; in fpm_env_init_main() local
230 if (last == NULL || fpm_globals.argv[i] == last + 1) { in fpm_env_init_main()
231 last = fpm_globals.argv[i] + strlen(fpm_globals.argv[i]); in fpm_env_init_main()
239 if (last == NULL || environ[i] == last + 1) { in fpm_env_init_main()
240 last = environ[i] + strlen(environ[i]); in fpm_env_init_main()
244 if (first == NULL || last == NULL) { in fpm_env_init_main()
248 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-8.0/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-8.0/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-8.0/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-8.0/ext/standard/tests/strings/
H A Dbug25671.phpt10 "This is a last string."),
11 "This is a last string.");
20 … is strung one.";i:1;s:19:"This is strung two.";i:2;s:5:"Array";i:3;s:22:"This is a last strung.";}
23 … is strung one.";i:1;s:19:"This is strung two.";i:2;s:5:"Array";i:3;s:22:"This is a last strung.";}
/PHP-8.0/ext/intl/tests/
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();
H A Dbreakiter_last_basic.phpt2 IntlBreakIterator::last(): basic test
15 var_dump($bi->last());
/PHP-8.0/ext/standard/tests/array/
H A Dend_64bit.phpt28 /* loop through $arrays to print the last element of each sub-array */
34 /* ensure that internal pointer is moved to last element */
54 // remove last element from array, rewind and check end()
55 echo "\n-- Remove last element from array --\n";
61 // remove any element !first, !last, rewind and check end()
62 echo "\n-- Remove any element from array apart from first and last element --\n";
174 -- Remove last element from array --
178 -- Remove any element from array apart from first and last element --
H A Dbug22088.phpt7 $last = array_shift ($a);
12 $last = array_shift ($a);
H A Dend.phpt28 /* loop through $arrays to print the last element of each sub-array */
34 /* ensure that internal pointer is moved to last element */
54 // remove last element from array, rewind and check end()
55 echo "\n-- Remove last element from array --\n";
61 // remove any element !first, !last, rewind and check end()
62 echo "\n-- Remove any element from array apart from first and last element --\n";
179 -- Remove last element from array --
183 -- Remove any element from array apart from first and last element --
/PHP-8.0/tests/lang/
H A Dbug30578.phpt13 echo "This should be displayed last.\n";
31 Buffered data: This should be displayed last.
/PHP-8.0/sapi/litespeed/
H A Dlscriu.c257 char *last; in LSCRIU_load_liblscapi() local
259 if (!(lib_handle = DL_LOAD(last = "liblscapi.so")) /*|| in LSCRIU_load_liblscapi()
262 s_pid, last, dlerror()); in LSCRIU_load_liblscapi()
263 else if (!(s_lscapi_dump_me = dlsym(lib_handle, last = "lscapi_dump_me")) || in LSCRIU_load_liblscapi()
264 !(s_lscapi_prepare_me = dlsym(lib_handle, last = "lscapi_prepare_me")) || in LSCRIU_load_liblscapi()
265 !(psem_open = dlsym(pthread_lib_handle, last = "sem_open")) || in LSCRIU_load_liblscapi()
266 !(psem_post = dlsym(pthread_lib_handle, last = "sem_post")) || in LSCRIU_load_liblscapi()
267 !(psem_close = dlsym(pthread_lib_handle, last = "sem_close"))) in LSCRIU_load_liblscapi()
269 s_pid, last, dlerror()); in LSCRIU_load_liblscapi()
/PHP-8.0/main/
H A Dreentrancy.c265 php_strtok_r(char *s, const char *delim, char **last) in php_strtok_r() argument
271 if (s == NULL && (s = *last) == NULL) in php_strtok_r()
291 *last = NULL; in php_strtok_r()
317 *last = s; in php_strtok_r()

Completed in 60 milliseconds

123456789