/PHP-7.1/ext/intl/tests/ |
H A D | dateformat_parse_timestamp_parsepos.phpt | 44 foreach( $text_arr as $text_entry){ 49 foreach( $locale_arr as $locale_entry ){ 52 foreach( $datetype_arr as $datetype_entry ) 87 Error while parsing as: 'Date parsing failed: U_PARSE_ERROR'; Position = 0 89 Error while parsing as: 'Date parsing failed: U_PARSE_ERROR'; Position = 0 91 Error while parsing as: 'Date parsing failed: U_PARSE_ERROR'; Position = 0 93 Error while parsing as: 'Date parsing failed: U_PARSE_ERROR'; Position = 0 103 Error while parsing as: 'Date parsing failed: U_PARSE_ERROR'; Position = 0 105 Error while parsing as: 'Date parsing failed: U_PARSE_ERROR'; Position = 0 107 Error while parsing as: 'Date parsing failed: U_PARSE_ERROR'; Position = 0 [all …]
|
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.1/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;
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | strspn_variation4.phpt | 90 foreach($values as $value) { 143 -- Iteration with len value as "" -- 146 -- Iteration with len value as "" -- 149 -- Iteration with len value as "1" -- 152 -- Iteration with len value as "" -- 155 -- Iteration with len value as "1" -- 158 -- Iteration with len value as "" -- 161 -- Iteration with len value as "" -- 166 -- Iteration with len value as "" -- 186 -- Iteration with len value as "" -- [all …]
|
H A D | strcspn_variation4.phpt | 92 foreach($values as $value) { 145 -- Iteration with len value as "" -- 148 -- Iteration with len value as "" -- 151 -- Iteration with len value as "1" -- 154 -- Iteration with len value as "" -- 157 -- Iteration with len value as "1" -- 160 -- Iteration with len value as "" -- 163 -- Iteration with len value as "" -- 168 -- Iteration with len value as "" -- 188 -- Iteration with len value as "" -- [all …]
|
H A D | strcspn_variation1.phpt | 93 foreach($values as $value) { 108 -- Iteration with str value as "0" 113 -- Iteration with str value as "1" 208 -- Iteration with str value as "" 213 -- Iteration with str value as "" 223 -- Iteration with str value as "" 233 -- Iteration with str value as "" 238 -- Iteration with str value as "" 243 -- Iteration with str value as "" 253 -- Iteration with str value as "" [all …]
|
H A D | strcspn_variation2.phpt | 92 foreach($values as $value) { 107 -- Iteration with mask value as "0" -- 112 -- Iteration with mask value as "1" -- 207 -- Iteration with mask value as "" -- 212 -- Iteration with mask value as "" -- 222 -- Iteration with mask value as "" -- 232 -- Iteration with mask value as "" -- 237 -- Iteration with mask value as "" -- 242 -- Iteration with mask value as "" -- 252 -- Iteration with mask value as "" -- [all …]
|
H A D | strspn_variation1.phpt | 93 foreach($values as $value) { 108 -- Iteration with str value as "0" 113 -- Iteration with str value as "1" 208 -- Iteration with str value as "" 213 -- Iteration with str value as "" 223 -- Iteration with str value as "" 233 -- Iteration with str value as "" 238 -- Iteration with str value as "" 243 -- Iteration with str value as "" 253 -- Iteration with str value as "" [all …]
|
H A D | strspn_variation2.phpt | 92 foreach($values as $value) { 107 -- Iteration with mask value as "0" -- 112 -- Iteration with mask value as "1" -- 207 -- Iteration with mask value as "" -- 212 -- Iteration with mask value as "" -- 222 -- Iteration with mask value as "" -- 232 -- Iteration with mask value as "" -- 237 -- Iteration with mask value as "" -- 242 -- Iteration with mask value as "" -- 252 -- Iteration with mask value as "" -- [all …]
|
H A D | strcspn_variation3.phpt | 90 foreach($values as $value) { 164 -- Iteration with start value as "" -- 168 -- Iteration with start value as "" -- 172 -- Iteration with start value as "1" -- 176 -- Iteration with start value as "" -- 180 -- Iteration with start value as "1" -- 184 -- Iteration with start value as "" -- 188 -- Iteration with start value as "" -- 196 -- Iteration with start value as "" -- 228 -- Iteration with start value as "" -- [all …]
|
H A D | strspn_variation3.phpt | 90 foreach($values as $value) { 164 -- Iteration with start value as "" -- 168 -- Iteration with start value as "" -- 172 -- Iteration with start value as "1" -- 176 -- Iteration with start value as "" -- 180 -- Iteration with start value as "1" -- 184 -- Iteration with start value as "" -- 188 -- Iteration with start value as "" -- 196 -- Iteration with start value as "" -- 228 -- Iteration with start value as "" -- [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
|
/PHP-7.1/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_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 ***
|
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 ***
|
/PHP-7.1/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 …]
|
/PHP-7.1/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--
|
/PHP-7.1/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.1/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.1/ext/standard/tests/url/ |
H A D | get_headers_error_002.phpt | 17 // Format argument as type String 18 echo "\n-- Testing get_headers() function with format argument as type string --\n"; 21 // Format argument as type Array 22 echo "\n-- Testing get_headers() function with format argument as type array --\n"; 25 // Format argument as type Object 31 echo "\n-- Testing get_headers() function with format argument as type object --\n"; 40 -- Testing get_headers() function with format argument as type string -- 45 -- Testing get_headers() function with format argument as type array -- 50 -- Testing get_headers() function with format argument as type object --
|