Home
last modified time | relevance | path

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

1234567891011

/php-src/ext/dom/tests/
H A Dbug80602.phpt159 1 <a>foo<last/></a>
160 2 <a>foo<last/></a>
161 3 <a><last/>foo</a>
162 4 <a>foo<last/></a>
163 5 <a>foo<last/></a>
164 6 <a><last/>foo</a>
165 7 <a><last/>foo</a>
166 8 <a>foo<last/></a>
175 17 <a>barfoo<last/></a>
176 18 <a>foobar<last/></a>
[all …]
H A Dbug80602_2.phpt159 1 <a>foo<last/></a>
160 2 <a>foo<last/></a>
161 3 <a>foo<last/></a>
162 4 <a><last/>foo</a>
163 5 <a>foo<last/></a>
164 6 <a><last/>foo</a>
165 7 <a><last/>foo</a>
166 8 <a>foo<last/></a>
175 17 <a>barfoo<last/></a>
176 18 <a>foobar<last/></a>
[all …]
H A Dbug80602_3.phpt9 $doc->loadXML('<a>foo<last/></a>');
16 $doc->loadXML('<a>foo<last/></a>');
25 <a>barfoobaz<last/></a>
28 string(4) "last"
46 string(4) "last"
76 string(4) "last"
82 <a><last/>barfoobaz</a>
85 string(4) "last"
103 string(4) "last"
133 string(4) "last"
H A Dbug80602_4.phpt9 $doc->loadXML('<a>foo<last/>bar</a>');
28 <a>foobar<last/></a>
31 <a>xbar<last/></a>
34 <a>xy<last/></a>
/php-src/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.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"
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"
/php-src/ext/dom/tests/modern/css_selectors/
H A Dpseudo_classes_nth_child.phpt20 test_helper($dom, 'h2:nth-of-type(n+2):nth-last-of-type(n+2)');
21 test_helper($dom, 'h2:not(:first-of-type):not(:last-of-type)'); // Equivalent to the above
23 test_helper($dom, 'h2:nth-last-child(2)');
25 test_helper($dom, 'h2:nth-last-child(2n + 1)');
27 test_helper($dom, 'h2:nth-last-child(3n - 2)');
31 --- Selector: h2:nth-of-type(n+2):nth-last-of-type(n+2) ---
35 --- Selector: h2:not(:first-of-type):not(:last-of-type) ---
41 --- Selector: h2:nth-last-child(2) ---
47 --- Selector: h2:nth-last-child(2n + 1) ---
54 --- Selector: h2:nth-last-child(3n - 2) ---
H A Dpseudo_classes_first_last_child.phpt2 CSS Selectors - Pseudo classes: first/last child
16 <last/>
22 test_helper($dom, 'container > *:last-child');
28 --- Selector: container > *:last-child ---
29 <last/>
H A Dpseudo_classes_nth_child_of.phpt26 test_helper($dom, 'h2:nth-last-child(even of .hi)');
27 test_helper($dom, 'h2.hi:nth-last-child(even)');
28 test_helper($dom, 'h2:nth-last-child(odd of .hi)');
29 test_helper($dom, 'h2.hi:nth-last-child(odd)');
45 --- Selector: h2:nth-last-child(even of .hi) ---
48 --- Selector: h2.hi:nth-last-child(even) ---
51 --- Selector: h2:nth-last-child(odd of .hi) ---
54 --- Selector: h2.hi:nth-last-child(odd) ---
H A Dpseudo_classes_nth_col.phpt2 CSS Selectors - Pseudo classes: nth-(last-)col
29 test_failure($dom, ':nth-last-col(1)', true);
35 --- Selector: :nth-last-col(1) ---
36 Code 12 Invalid selector (Selectors. Not supported: nth-last-col)
/php-src/ext/spl/tests/ArrayObject/
H A Dproperty_hooks.phpt15 public function __construct(string $first, public string $last) {
21 get => $this->first . " " . $this->last;
25 [$this->first, $this->last] = explode(' ', $value, 2);
38 $o = new TestHooks('first', 'last');
43 var_dump($o->last);
48 var_dump($a['last']);
54 $a['last'] = 'ArrayObject';
60 var_dump($o->last);
68 string(4) "last"
69 string(10) "FIRST last"
[all …]
/php-src/ext/standard/
H A Dsoundex.c26 size_t i, _small, str_len, code, last; in PHP_FUNCTION() local
62 last = -1; in PHP_FUNCTION()
73 last = soundex_table[code - 'A']; in PHP_FUNCTION()
80 if (code != last) { in PHP_FUNCTION()
84 last = code; in PHP_FUNCTION()
/php-src/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()
499 PCRE2_SPTR last; in pcre2_substring_nametable_scan() local
502 first = last = entry; in pcre2_substring_nametable_scan()
508 while (last < lastentry) in pcre2_substring_nametable_scan()
511 last += entrysize; in pcre2_substring_nametable_scan()
[all …]
/php-src/ext/dom/parentnode/
H A Dtree.c55 xmlNodePtr last = nodep->last; in dom_parent_node_last_element_child_read() local
57 while (last && last->type != XML_ELEMENT_NODE) { in dom_parent_node_last_element_child_read()
58 last = last->prev; in dom_parent_node_last_element_child_read()
126 xmlNodePtr last = parent->last; in dom_add_child_without_merging() local
127 last->next = child; in dom_add_child_without_merging()
128 child->prev = last; in dom_add_child_without_merging()
130 parent->last = child; in dom_add_child_without_merging()
141 if (node == fragment->last) { in dom_fragment_assign_parent_node()
471 parentNode->last = last; in php_dom_pre_insert_helper()
516 xmlNodePtr last = node->last; in dom_insert_node_list_unchecked() local
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_env.c233 char *last = NULL; in fpm_env_init_main() local
251 if (last == NULL || fpm_globals.argv[i] == last + 1) { in fpm_env_init_main()
252 last = fpm_globals.argv[i] + strlen(fpm_globals.argv[i]); in fpm_env_init_main()
260 if (last == NULL || environ[i] == last + 1) { in fpm_env_init_main()
261 last = environ[i] + strlen(environ[i]); in fpm_env_init_main()
265 if (first == NULL || last == NULL) { in fpm_env_init_main()
269 fpm_env_argv_len = last - first; in fpm_env_init_main()
/php-src/Zend/Optimizer/
H A Dnop_removal.c41 shiftlist = (uint32_t *)do_alloca(sizeof(uint32_t) * op_array->last, use_heap); in zend_optimizer_nop_removal()
43 end = op_array->opcodes + op_array->last; in zend_optimizer_nop_removal()
75 op_array->last = new_count; in zend_optimizer_nop_removal()
76 end = op_array->opcodes + op_array->last; in zend_optimizer_nop_removal()
/php-src/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-src/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-src/ext/dom/lexbor/lexbor/css/selectors/
H A Dstate.c234 last->specificity = 0; in lxb_css_selectors_state_specificity_set_b()
257 last->specificity = 0; in lxb_css_selectors_state_specificity_set_c()
269 last = selectors->list_last; in lxb_css_selectors_state_func_specificity()
270 prev = last->prev; in lxb_css_selectors_state_func_specificity()
1061 last = selectors->list_last; in lxb_css_selectors_state_hash()
1837 dst = last->specificity; in lxb_css_selectors_state_restore_parent()
1854 last->specificity = dst; in lxb_css_selectors_state_restore_parent()
1858 last->last->u.pseudo.data = selectors->list; in lxb_css_selectors_state_restore_parent()
1861 selectors->list_last = last; in lxb_css_selectors_state_restore_parent()
1865 last = last->prev; in lxb_css_selectors_state_restore_parent()
[all …]
/php-src/ext/intl/tests/
H A Dbreakiter_last_basic.phpt2 IntlBreakIterator::last(): basic test
13 var_dump($bi->last());
H A Dcpbi_getLastCodePoint_basic.phpt16 //first() and last() don't read codepoint and set the last code point var to -1
17 //The pointer is after the last read codepoint if moving forward and
18 //before the last read codepoint is moving backwards
32 $p = $codepoint_it->last();
/php-src/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.";}

Completed in 77 milliseconds

1234567891011