/php-src/ext/simplexml/tests/ |
H A D | iterator_interaction_empty_and_var_dump.phpt | 10 <first><foo/></first> 18 $first = $sxe->first; 19 $first->rewind(); 21 var_dump($first); 26 $first = $sxe->first; 27 $first->rewind(); 29 var_dump(empty($first)); 35 string(5) "first" 44 string(5) "first" 46 string(5) "first" [all …]
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | mk_eaw_tbl.awk | 22 first = v 27 printf("{ 0x%04x, 0x%04x }", first, prev) 28 first = v 37 printf("{ 0x%04x, 0x%04x }", first, prev) 49 first = vs 54 printf("{ 0x%04x, 0x%04x }", first, prev) 55 first = vs 64 printf("{ 0x%04x, 0x%04x }", first, prev) 76 printf("{ 0x%04x, 0x%04x }", first, prev)
|
/php-src/ext/date/tests/ |
H A D | bug51096.phpt | 2 Bug #51096 (Test for "first day" vs "first day of") 6 'first day', 9 'first day next month', 11 'first day of next month', 29 first day 30 - month: 0; day: 1; first-day-of: false; last-day-of: false 38 - month: 1; day: 0; first-day-of: false; last-day-of: false 41 first day next month 49 first day of next month 50 - month: 1; day: 0; first-day-of: true; last-day-of: false [all …]
|
H A D | strtotime_basic.phpt | 2 strtotime() function - a test to show the difference in behaviour between 'first' and '1', "second"… 7 * The first of December 2008 is a Monday. 8 * The term "Monday December 2008" will be parsed as the first Monday in December 2008. 12 * This is parsed as the "first following Monday OR the current day if it is a Monday" 16 * This is parsed as the "second following Monday OR the first following 26 * This is parsed as the "first following Monday after the first Monday in December" 28 var_dump(date('Y-m-d', strtotime('first Monday December 2008'))); 30 * This is parsed as the "second following Monday after the first Monday in December" 34 * This is parsed as the "third following Monday after the first Monday in December"
|
/php-src/ext/pdo_mysql/tests/ |
H A D | bug80458.phpt | 27 $res = $db->query('DELETE FROM test_80458 WHERE first=2'); 40 $stmt = $db->prepare('SELECT first FROM test_80458 WHERE first=5'); 54 $db->exec("CREATE PROCEDURE {$procedure_ret}() BEGIN SELECT first FROM test_80458 WHERE first=7; EN… 83 $stmt = $db->prepare('SELECT first FROM test_80458 WHERE first=12'); 91 $db->exec("CREATE PROCEDURE {$procedure_ret}() BEGIN SELECT first FROM test_80458 WHERE first=14; E… 106 $stmt = $db->prepare('SELECT first FROM test_80458 WHERE first=16'); 129 ["first"]=> 140 ["first"]=> 157 ["first"]=> 168 ["first"]=> [all …]
|
H A D | bug79375.phpt | 30 $query = "SELECT first FROM test_79375 WHERE first = 1 FOR UPDATE"; 43 $query = "SELECT first FROM test_79375 WHERE first = 1 FOR UPDATE"; 58 $query = "SELECT first FROM test_79375 WHERE first = 1 FOR UPDATE"; 71 testNormalQuery($db, 'first connection'); 87 testUnbuffered($db, 'first connection'); 101 Running query on first connection 102 Got 1 for first connection 106 Running query on first connection 107 Got 1 for first connection 111 Running query on first connection [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | array_unshift_variation2.phpt | 127 string(5) "first" 144 string(5) "first" 158 string(5) "first" 175 string(5) "first" 189 string(5) "first" 206 string(5) "first" 220 string(5) "first" 237 string(5) "first" 251 string(5) "first" 268 string(5) "first" [all …]
|
H A D | array_slice.phpt | 74 *** Variation with first two Arguments *** 82 *** Variation with first three Arguments *** 124 *** Variation with first two Arguments *** 170 *** Variation with first three Arguments *** 288 *** Variation with first two Arguments *** 404 *** Variation with first two Arguments *** 556 *** Variation with first two Arguments *** 672 *** Variation with first two Arguments *** 788 *** Variation with first two Arguments *** 904 *** Variation with first two Arguments *** [all …]
|
H A D | array_shift_variation8.phpt | 9 * it will return a *copy* of the first element of the array, 11 * The solution is to reference the first element before removing it with array_shift(): 24 // solution: referencing the first element first: 25 echo "\n-- Reference first element before array_shift: --\n"; 43 -- Reference first element before array_shift: --
|
H A D | array_intersect_key_variation8.phpt | 10 'first' => array('blue' => 1, 'red' => 2), 19 'first' => array('blue' => 1, 'red' => 2,), 31 ["first"]=> 45 ["first"]=>
|
/php-src/Zend/tests/ |
H A D | bug68262.phpt | 10 $first = new C; 11 $first->p = 'init'; 13 $clone = clone $first; 14 $ref =& $first->p; 17 $clone = clone $first; 20 var_dump($first->p);
|
/php-src/ext/spl/tests/ArrayObject/ |
H A D | property_hooks.phpt | 9 public string $first { 11 return strtoupper($this->first); 15 public function __construct(string $first, public string $last) { 16 $this->first = $first; 21 get => $this->first . " " . $this->last; 38 $o = new TestHooks('first', 'last'); 42 var_dump($o->first); 47 var_dump($a['first']); 53 $a['first'] = 'ArrayObject'; 59 var_dump($o->first); [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | bug79375.phpt | 25 $query = "SELECT first FROM test WHERE first = 1 FOR UPDATE"; 39 $query = "SELECT first FROM test WHERE first = 1 FOR UPDATE"; 53 $query = "SELECT first FROM test WHERE first = 1 FOR UPDATE"; 65 $query = "SELECT first FROM test WHERE first = 1 FOR UPDATE"; 80 $query = "SELECT first FROM test WHERE first = 1 FOR UPDATE"; 148 Running query on first connection 149 Got %d for first connection 154 Got %d for first connection 159 Got %d for first connection 164 Got %d for first connection [all …]
|
/php-src/ext/dom/tests/modern/css_selectors/ |
H A D | pseudo_classes_first_last_child.phpt | 2 CSS Selectors - Pseudo classes: first/last child 14 <first /> 21 test_helper($dom, 'container > *:first-child'); 26 --- Selector: container > *:first-child --- 27 <first/>
|
/php-src/ext/spl/tests/ |
H A D | bug45614.phpt | 25 echo "--> Show the first two items:\n"; 28 echo "\n--> Rewind and show the first two items:\n"; 32 echo "\n--> Invalidate current position and show the first two items:\n"; 37 echo "\n--> Rewind, seek and show the first two items:\n"; 43 --> Show the first two items: 47 --> Rewind and show the first two items: 51 --> Invalidate current position and show the first two items: 55 --> Rewind, seek and show the first two items:
|
/php-src/tests/classes/ |
H A D | final.phpt | 6 class first { 8 echo "Call to function first::show()\n"; 12 $t = new first(); 15 class second extends first { 27 Call to function first::show()
|
H A D | private_006.phpt | 5 class first { 11 first::show(); 15 first::do_show(); 17 class second extends first {
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | str.c | 390 if (first[i] == '\0') { in lexbor_str_data_ncasecmp_first() 391 return &first[i]; in lexbor_str_data_ncasecmp_first() 401 return &first[i]; in lexbor_str_data_ncasecmp_first() 485 if (*first == '\0') { in lexbor_str_data_casecmp() 489 first++; in lexbor_str_data_casecmp() 533 if (*first != *sec) { in lexbor_str_data_cmp() 537 if (*first == '\0') { in lexbor_str_data_cmp() 541 first++; in lexbor_str_data_cmp() 550 if (*first != *sec) { in lexbor_str_data_cmp_ws() 554 if (lexbor_utils_whitespace(*first, ==, ||) || *first == '\0') { in lexbor_str_data_cmp_ws() [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | bug20261.phpt | 5 $first = "boo"; 6 $second = $first; 9 echo "1: ".$first."\n"; 15 echo "1: ".$first."\n";
|
H A D | bug21453.phpt | 7 <tr><td>first cell before < first cell after</td></tr> 16 first cell before < first cell after
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_save.c | 94 bool first; in ir_save() local 213 first = 1; in ir_save() 267 first = 0; in ir_save() 271 first = 0; in ir_save() 274 if (first) { in ir_save() 279 first = 1; in ir_save() 285 first = 0; in ir_save() 292 if (first) { in ir_save() 294 first = 0; in ir_save() 306 first = 0; in ir_save() [all …]
|
/php-src/ext/zlib/tests/ |
H A D | gzrewind_basic.phpt | 16 echo "first 10 characters=".gzread($h, 10)."\n"; 18 echo "first 20 characters=".gzread($h, 20)."\n"; 26 first 30 characters=When you're taught through fee 29 first 10 characters=When you'r 30 first 20 characters=When you're taught t
|
/php-src/ext/dom/tests/modern/token_list/ |
H A D | attlist.phpt | 12 <!ATTLIST child class CDATA "first second"> 22 $list->remove('first'); 29 class: first second 34 string(12) "first second" 45 <!ATTLIST child class CDATA "first second">
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_substring.c | 76 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() 498 PCRE2_SPTR first; in pcre2_substring_nametable_scan() local 502 first = last = entry; in pcre2_substring_nametable_scan() 503 while (first > nametable) in pcre2_substring_nametable_scan() 506 first -= entrysize; in pcre2_substring_nametable_scan() [all …]
|
/php-src/ext/dom/tests/bug79701/ |
H A D | swap.phpt | 22 echo "--- After removing the first id ---\n"; 28 echo "--- After re-adding the first id ---\n"; 31 echo "--- After changing the first id ---\n"; 40 --- After removing the first id --- 44 --- After re-adding the first id --- 46 --- After changing the first id ---
|