/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"]=>
|
H A D | array_unshift_object.phpt | 61 $array = array('f' => "first", "s" => 'second', 1, 2.222); 110 string(5) "first" 130 string(5) "first" 145 string(5) "first" 163 string(5) "first" 182 string(5) "first" 204 string(5) "first" 221 string(5) "first" 241 string(5) "first" 256 string(5) "first" [all …]
|
/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/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/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/bcmath/ |
H A D | bcmath.c | 196 result = bc_add (first, second, scale); in PHP_FUNCTION() 201 bc_free_num(&first); in PHP_FUNCTION() 246 result = bc_sub (first, second, scale); in PHP_FUNCTION() 251 bc_free_num(&first); in PHP_FUNCTION() 301 bc_free_num(&first); in PHP_FUNCTION() 356 bc_free_num(&first); in PHP_FUNCTION() 411 bc_free_num(&first); in PHP_FUNCTION() 552 bc_free_num(&first); in PHP_FUNCTION() 610 bc_num first = NULL, second = NULL; in PHP_FUNCTION() local 641 RETVAL_LONG(bc_compare(first, second)); in PHP_FUNCTION() [all …]
|
/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/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/standard/tests/dir/ |
H A D | rewinddir_basic.phpt | 25 echo "\n-- Read and rewind first directory (argument supplied) --\n"; 29 $first = $data[0]; 34 var_dump(readdir($dh1) == $first); 41 $first = $data[0]; 46 var_dump(readdir() == $first); 66 -- Read and rewind first directory (argument supplied) --
|
/php-src/ext/phar/tests/ |
H A D | phar_stub_error.phpt | 12 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 47 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 48 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 51 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 53 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>"
|