/PHP-7.4/Zend/tests/grammar/ |
H A D | semi_reserved_009.phpt | 2 Edge case: T_STRING<as> as T_STRING<?> 8 public static function as(){ echo __METHOD__, PHP_EOL; } 14 as as try; 22 TraitA::as
|
H A D | semi_reserved_006.phpt | 33 TraitA::list as public foreach; 34 TraitB::throw as public; 35 TraitB::self as public; 39 try as public attempt; 40 exit as die; 41 \TraitC::exit as bye; 42 namespace\TraitC::exit as byebye; 45 exit as farewell;
|
H A D | semi_reserved_008.phpt | 35 TraitA::list as public /**/ foreach; 39 try /*comment*/ as public attempt; 41 as/*comment*/die; // non qualified 42 \TraitB::exit as bye; // full qualified 44 as byebye; // even more full qualified 48 exit as farewell; // full qualified with weird spacing
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_diff_basic.phpt | 17 //Test indexed array with integers as elements 21 echo "-- Test indexed array with integers as elements --\n"; 26 //Test indexed array with strings as elements 30 echo "-- Test indexed array with strings as elements --\n"; 34 //Test associative array with strings as keys and integers as elements 38 echo "-- Test associative array with strings as keys and integers as elements --\n"; 46 echo "-- Test associative array with strings as keys and integers as elements --\n"; 57 -- Test indexed array with integers as elements -- 70 -- Test indexed array with strings as elements -- 83 -- Test associative array with strings as keys and integers as elements -- [all …]
|
H A D | array_push_variation3.phpt | 12 * 1. an array as $var arg 13 * 2. as sub-array as $stack arg 18 echo "\n-- Pass array as \$var argument --\n"; 24 echo "\n-- Pass sub-array as \$stack argument --\n"; 33 -- Pass array as $var argument -- 51 -- Pass sub-array as $stack argument --
|
H A D | array_sum_variation5.phpt | 2 Test array_sum() function : usage variations - array with reference variables as elements 11 * Testing array_sum() with 'input' having reference variables as elements 14 echo "*** Testing array_sum() : array with elements as reference ***\n"; 21 // input array containing elements as reference variables 35 *** Testing array_sum() : array with elements as reference ***
|
H A D | array_filter_variation9.phpt | 2 Test array_filter() function : usage variations - built-in functions as 'callback' argument 11 * Passing built-in functions and different language constructs as 'callback' argument 14 echo "*** Testing array_filter() : usage variations - built-in functions as 'callback' argument ***… 18 // using built-in function 'is_int' as 'callback' 21 // using built-in function 'chr' as 'callback' 24 // using language construct 'echo' as 'callback' 27 // using language construct 'exit' as 'callback' 33 *** Testing array_filter() : usage variations - built-in functions as 'callback' argument ***
|
/PHP-7.4/Zend/tests/ |
H A D | indexing_001.phpt | 9 foreach ($testvalues as $testvalue) { 17 foreach ($testvalues as $testvalue) { 25 foreach ($testvalues as $testvalue) { 33 foreach ($testvalues as $testvalue) { 51 Warning: Cannot use a scalar value as an array in %s on line %d 54 Warning: Cannot use a scalar value as an array in %s on line %d 57 Warning: Cannot use a scalar value as an array in %s on line %d 77 Warning: Cannot use a scalar value as an array in %s on line %d 96 Warning: Cannot use a scalar value as an array in %s on line %d 99 Warning: Cannot use a scalar value as an array in %s on line %d [all …]
|
H A D | foreach_017.phpt | 8 foreach($a as &$v) { 20 foreach($a as &$v) { 32 foreach($a as &$v) { 46 foreach($a as &$v) { 58 foreach($a as &$v) { 70 foreach($a as &$v) {
|
/PHP-7.4/ext/date/tests/ |
H A D | gmstrftime_variation6.phpt | 20 'Hour as decimal by 24-hour format' => "%H", 21 'Hour as decimal by 12-hour format' => "%I", 22 'Minute as decimal number' => "%M", 24 'Second as decimal number' => "%S", 29 foreach($inputs as $key =>$value) { 40 --Hour as decimal by 24-hour format-- 44 --Hour as decimal by 12-hour format-- 48 --Minute as decimal number-- 56 --Second as decimal number--
|
H A D | strftime_variation6.phpt | 21 'Hour as decimal by 24-hour format' => "%H", 22 'Hour as decimal by 12-hour format' => "%I", 23 'Minute as decimal number' => "%M", 25 'Second as decimal number' => "%S", 30 foreach($inputs as $key =>$value) { 41 --Hour as decimal by 24-hour format-- 45 --Hour as decimal by 12-hour format-- 49 --Minute as decimal number-- 57 --Second as decimal number--
|
H A D | strftime_variation7.phpt | 21 'Day of the month as a decimal number' => "%d", 22 'Day of the year as a decimal number' => "%j", 23 'Day of the week as a decimal number' => "%w" 28 foreach($inputs as $key =>$value) { 39 --Day of the month as a decimal number-- 43 --Day of the year as a decimal number-- 47 --Day of the week as a decimal number--
|
H A D | gmstrftime_variation7.phpt | 20 'Day of the month as a decimal number' => "%d", 21 'Day of the year as a decimal number' => "%j", 22 'Day of the week as a decimal number' => "%w" 27 foreach($inputs as $key =>$value) { 38 --Day of the month as a decimal number-- 42 --Day of the year as a decimal number-- 46 --Day of the week as a decimal number--
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | bug66141.phpt | 14 $input = 'Something\', 1 as one, 2 as two FROM dual; -- f'; 35 string(50) "'Something\', 1 as one, 2 as two FROM dual; -- f'" 36 string(50) "'Something'', 1 as one, 2 as two FROM dual; -- f'" 37 string(50) "'Something'', 1 as one, 2 as two FROM dual; -- f'"
|
/PHP-7.4/ext/pdo_sqlite/tests/ |
H A D | bug44327_2.phpt | 12 $x = $db->query('select 1 as queryString'); 20 $x = $db->query('select 1 as queryString'); 30 string(23) "select 1 as queryString" 32 string(23) "select 1 as queryString" 43 string(23) "select 1 as queryString" 45 string(23) "select 1 as queryString"
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | strrpos_variation11.phpt | 95 Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d 98 Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d 102 Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d 105 Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d 109 Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d 112 Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d 116 Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d 119 Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d 123 Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d 126 Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d [all …]
|
H A D | strripos_variation2.phpt | 62 42, //needle as int(ASCII value of '*') 63 $haystack //haystack as needle 68 foreach ($needles as $needle) { 137 Deprecated: strripos(): Non-string needles will be interpreted as strings in %s on line %d 140 Deprecated: strripos(): Non-string needles will be interpreted as strings in %s on line %d 143 Deprecated: strripos(): Non-string needles will be interpreted as strings in %s on line %d 146 Deprecated: strripos(): Non-string needles will be interpreted as strings in %s on line %d 150 Deprecated: strripos(): Non-string needles will be interpreted as strings in %s on line %d 153 Deprecated: strripos(): Non-string needles will be interpreted as strings in %s on line %d 156 Deprecated: strripos(): Non-string needles will be interpreted as strings in %s on line %d [all …]
|
H A D | join_variation5.phpt | 2 Test join() function : usage variations - sub array as argument 12 * test join() by passing pieces as array containing sub array(s) 18 // pieces as array containing sub array 21 // glue as array & pieces as array containing sub array 24 // numeric value as glue, pieces as array containg sub array 27 // using directly the sub_array as pieces
|
H A D | strcspn_variation5.phpt | 13 * Testing strcspn() : with different heredoc strings as str argument 68 foreach($heredoc_strings as $str) { 69 echo "\n-- Iteration with str value as \"$str\" --\n"; 78 -- Iteration with str value as "" -- 81 -- Iteration with str value as " 86 -- Iteration with str value as "first line of heredoc string 91 -- Iteration with str value as "hello world 97 -- Iteration with str value as "hello123world456 101 -- Iteration with str value as "helloworldhello 105 -- Iteration with str value as "hello@�worldhello
|
H A D | strspn_variation5.phpt | 13 * Testing strspn() : with different heredoc strings as str argument 68 foreach($heredoc_strings as $str) { 69 echo "\n-- Iteration with str value as \"$str\" --\n"; 78 -- Iteration with str value as "" -- 81 -- Iteration with str value as " 86 -- Iteration with str value as "first line of heredoc string 91 -- Iteration with str value as "hello world 97 -- Iteration with str value as "hello123world456 101 -- Iteration with str value as "helloworldhello 105 -- Iteration with str value as "hello@�worldhello
|
H A D | strrchr_variation12.phpt | 24 //needle as null string 26 //needle as NULL 35 Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d 39 Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d 43 Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d 47 Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d 51 Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d 55 Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d 59 Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d
|
/PHP-7.4/ext/intl/tests/ |
H A D | timezone_hasSameRules_basic.phpt | 15 echo "Europe/Lisbon has same rules as itself:\n"; 18 echo "\nEurope/Lisbon has same rules as Portugal:\n"; 21 echo "\nEurope/Lisbon has same rules as Atlantic/Azores:\n"; 27 Europe/Lisbon has same rules as itself: 30 Europe/Lisbon has same rules as Portugal: 33 Europe/Lisbon has same rules as Atlantic/Azores:
|
/PHP-7.4/ext/spl/tests/ |
H A D | array_019.phpt | 6 $ar = new ArrayObject(array(1)); foreach($ar as &$v) var_dump($v); 7 $ar = new ArrayIterator(array(2)); foreach($ar as &$v) var_dump($v); 8 $ar = new RecursiveArrayIterator(array(3)); foreach($ar as &$v) var_dump($v); 18 $ar = new ArrayIteratorEx(array(4)); foreach($ar as $v) var_dump($v); 19 $ar = new ArrayIteratorEx(array(5)); foreach($ar as &$v) var_dump($v);
|
/PHP-7.4/ext/pdo_dblib/tests/ |
H A D | bug_54648.phpt | 12 …>query("select cast('1950-01-18 23:00:00' as smalldatetime) as sdt, cast('2030-01-01 23:59:59' as …
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | var_export_basic1.phpt | 27 '0x123B' => 0x123B, // integer as hexadecimal 31 "-0x80000000" => -0x7FFFFFFF - 1, // max negative integer as hexadecimal 32 "'0x7fffffff'" => '0x7fffffff', // max positive integer as hexadecimal 33 "0x7FFFFFFF" => 0x7FFFFFFF, // max positive integer as hexadecimal 34 "'0123'" => '0123', // integer as octal 36 "-020000000000" => -017777777777 - 1, // max negative integer as octal 37 "017777777777" => 017777777777, // max positive integer as octal 42 foreach($valid_ints as $key => $int_value) {
|