/PHP-7.0/ext/date/tests/ |
H A D | bug51096.phpt | 7 '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 D | bug69336.phpt | 2 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 D | bug32588.phpt | 2 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 D | DateTime_setISODate_basic1.phpt | 27 // 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"
|
H A D | date_isodate_set_basic1.phpt | 27 // What date was is last year ? 29 echo "..same day last year was \"" . date_format($datetime, "D M j") . "\"\n"; 37 ..same day last year was "Wed Jul 23"
|
/PHP-7.0/TSRM/ |
H A D | tsrm_strtok_r.c | 17 TSRM_API char *tsrm_strtok_r(char *s, const char *delim, char **last) in tsrm_strtok_r() argument 22 s = *last; in tsrm_strtok_r() 38 *last = s; in tsrm_strtok_r() 41 *last = s + 1; in tsrm_strtok_r() 51 char *last; 54 token = tsrm_strtok_r(foo, "/\\", &last); 57 token = tsrm_strtok_r(NULL, "/\\", &last);
|
/PHP-7.0/ext/standard/ |
H A D | soundex.c | 32 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.0/sapi/phpdbg/ |
H A D | phpdbg_eol.c | 90 char last, cur; in phpdbg_eol_convert() local 106 last = cur = in[0]; in phpdbg_eol_convert() 109 if (0x0a == cur && last != 0x0d) { in phpdbg_eol_convert() 118 last = 0x0a; in phpdbg_eol_convert() 121 last = 0x0d; in phpdbg_eol_convert() 125 last = cur; in phpdbg_eol_convert() 147 last = cur = in[0]; in phpdbg_eol_convert() 153 if (kick != last) { in phpdbg_eol_convert() 160 last = cur; in phpdbg_eol_convert()
|
H A D | phpdbg_print.c | 62 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() 245 (fbc->type == ZEND_USER_FUNCTION) ? fbc->op_array.last : 0); in PHPDBG_PRINT()
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | bug25671.phpt | 10 "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:…
|
H A D | htmlentities23.phpt | 10 "\x8F\xA1\x21", //2 sub, no consume last 11 "\x8F\x21", //1 sub, no consume last 14 "\x8E\x21", //1 sub, no consume last 17 "\xB2\x21", //1 sub, no consume last
|
/PHP-7.0/main/ |
H A D | mergesort.c | 74 #define ICOPY_LIST(src, dst, last) \ argument 77 while(src < last) 83 #define CCOPY_LIST(src, dst, last) \ argument 86 while (src < last) 134 last = list2 + nmemb * size; in php_mergesort() 136 while (*EVAL(list2) != last) { in php_mergesort() 143 if (p2 != last) in php_mergesort() 229 last = list2 + nmemb*size; in php_mergesort() 268 u_char *f1, *f2, *s, *l2, *last, *p2, tmp; in setup() local 282 last = list1 + size * (n - i); in setup() [all …]
|
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_env.c | 204 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 D | fpm_systemd.c | 16 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.0/ext/intl/tests/ |
H A D | breakiter_first_last_previous_current_error.phpt | 2 IntlBreakIterator::first()/last()/previous()/current(): arg errors 15 var_dump($bi->last(1)); 26 Warning: IntlBreakIterator::last() expects exactly 0 parameters, 1 given in %s on line %d 28 Warning: IntlBreakIterator::last(): breakiter_last: bad arguments in %s on line %d
|
H A D | cpbi_getLastCodePoint_basic.phpt | 18 //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 D | breakiter_last_basic.phpt | 2 IntlBreakIterator::last(): basic test 15 var_dump($bi->last());
|
/PHP-7.0/ext/dom/examples/ |
H A D | dom1.php | 26 $last = $rootnode->lastChild; variable 27 print_node($last); 31 $parent = $last->parentNode;
|
/PHP-7.0/Zend/tests/variadic/ |
H A D | only_last_error.phpt | 2 Only the last argument can be variadic 10 Fatal error: Only the last parameter can be variadic in %s on line %d
|
/PHP-7.0/ext/imap/tests/ |
H A D | imap_alerts_error.phpt | 10 …erts that have been generated since the last page load or since the last imap_alerts() call, which…
|
/PHP-7.0/ext/pcre/pcrelib/ |
H A D | pcre_get.c | 207 pcre_uchar *last = entry; in pcre_get_stringtable_entries() local 214 while (last < lastentry) in pcre_get_stringtable_entries() 217 (pcre_uchar *)(last + entrysize + IMM2_SIZE)) != 0) break; in pcre_get_stringtable_entries() 218 last += entrysize; in pcre_get_stringtable_entries() 222 *lastptr = (char *)last; in pcre_get_stringtable_entries() 225 *lastptr = (PCRE_UCHAR16 *)last; in pcre_get_stringtable_entries() 228 *lastptr = (PCRE_UCHAR32 *)last; in pcre_get_stringtable_entries() 272 char *first, *last; in get_first_set() local 274 PCRE_UCHAR16 *first, *last; in get_first_set() local 276 PCRE_UCHAR32 *first, *last; in get_first_set() local [all …]
|
/PHP-7.0/ext/standard/tests/array/ |
H A D | end.phpt | 12 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 D | end_64bit.phpt | 12 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"; 199 -- Remove last element from array -- 203 -- Remove any element from array apart from first and last element --
|
H A D | bug22088.phpt | 7 $last = array_shift ($a); 12 $last = array_shift ($a);
|
/PHP-7.0/tests/lang/ |
H A D | bug30578.phpt | 13 echo "This should be displayed last.\n"; 31 Buffered data: This should be displayed last.
|