/php-src/Zend/tests/offsets/ |
H A D | object_container_offset_behaviour.phpt | 10 Cannot use object of type stdClass as array 12 Cannot use object of type stdClass as array 14 Cannot use object of type stdClass as array 16 Cannot use object of type stdClass as array 18 Cannot use object of type stdClass as array 20 Cannot use object of type stdClass as array 22 Cannot use object of type stdClass as array 24 Cannot use object of type stdClass as array 45 foreach ($offsets as $dimension) { 65 /* Using offsets as references */ [all …]
|
/php-src/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; 23 TraitA::as
|
/php-src/ext/standard/tests/array/ |
H A D | array_diff_basic.phpt | 11 //Test indexed array with integers as elements 15 echo "-- Test indexed array with integers as elements --\n"; 20 //Test indexed array with strings as elements 24 echo "-- Test indexed array with strings as elements --\n"; 28 //Test associative array with strings as keys and integers as elements 32 echo "-- Test associative array with strings as keys and integers as elements --\n"; 40 echo "-- Test associative array with strings as keys and integers as elements --\n"; 51 -- Test indexed array with integers as elements -- 64 -- Test indexed array with strings as elements -- 77 -- Test associative array with strings as keys and integers as elements -- [all …]
|
H A D | array_push_variation3.phpt | 7 * 1. an array as $var arg 8 * 2. as sub-array as $stack arg 13 echo "\n-- Pass array as \$var argument --\n"; 19 echo "\n-- Pass sub-array as \$stack argument --\n"; 28 -- Pass array as $var argument -- 46 -- Pass sub-array as $stack argument --
|
H A D | max_int_float_optimisation.phpt | 8 echo "Start as int optimisation:\n"; 16 echo "Check that int not representable as float works:\n"; 22 echo "Start as float optimisation:\n"; 30 echo "Check that int not representable as float works:\n"; 38 Start as int optimisation: 46 Check that int not representable as float works: 50 Start as float optimisation: 58 Check that int not representable as float works:
|
H A D | min_int_float_optimisation.phpt | 8 echo "Start as int optimisation:\n"; 16 echo "Check that int not representable as float works:\n"; 22 echo "Start as float optimisation:\n"; 30 echo "Check that int not representable as float works:\n"; 38 Start as int optimisation: 46 Check that int not representable as float works: 50 Start as float optimisation: 58 Check that int not representable as float works:
|
/php-src/Zend/tests/exit/ |
H A D | exit_values.phpt | 80 Using NULL as value: 88 Using true as value: 92 Using 0 as value: 96 Using 1 as value: 100 Using 20 as value: 104 Using 10.0 as value: 116 Using [] as value: 144 Using 0 as value: 148 Using 1 as value: 152 Using 20 as value: [all …]
|
H A D | exit_named_arg.phpt | 2 Using exit()/die() as function call with a named argument 25 foreach ([FILE_CONTENT, str_replace('exit', 'die', FILE_CONTENT)] as $code) { 26 foreach ($values as $value) { 27 echo 'Using ', var_export($value, true), ' as value:', PHP_EOL; 44 Using 12 as value: 48 Using 'Goodbye!' as value: 52 Using 12 as value: 56 Using 'Goodbye!' as value:
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug44327_2.phpt | 10 $x = $db->query('select 1 as queryString'); 18 $x = $db->query('select 1 as queryString'); 28 string(23) "select 1 as queryString" 30 string(23) "select 1 as queryString" 41 string(23) "select 1 as queryString" 43 string(23) "select 1 as queryString" 46 string(23) "select 1 as queryString" 48 string(23) "select 1 as queryString"
|
/php-src/Zend/tests/ |
H A D | indexing_001.phpt | 9 foreach ($testvalues as $testvalue) { 21 foreach ($testvalues as $testvalue) { 33 foreach ($testvalues as $testvalue) { 45 foreach ($testvalues as $testvalue) { 64 Cannot use a scalar value as an array 66 Cannot use a scalar value as an array 68 Cannot use a scalar value as an array 83 Cannot use a scalar value as an array 101 Cannot use a scalar value as an array 103 Cannot use a scalar value as an array [all …]
|
H A D | string_offset_as_object.phpt | 2 Using string offset as object 55 Cannot use string offset as an object 56 Cannot use string offset as an object 57 Cannot use string offset as an object 58 Cannot use string offset as an object 59 Cannot use string offset as an object 60 Cannot use string offset as an object 61 Cannot use string offset as an object 62 Cannot use string offset as an object 63 Cannot use string offset as an object
|
H A D | dynamic_class_const_fetch.phpt | 32 foreach ($const_names as [$prolog, $const_name]) { 49 Cannot use value of type null as class constant name 52 Cannot use value of type null as class constant name 57 Cannot use value of type int as class constant name 58 Cannot use value of type int as class constant name 59 Cannot use value of type int as class constant name 60 Cannot use value of type int as class constant name 61 Cannot use value of type array as class constant name 62 Cannot use value of type array as class constant name 63 Cannot use value of type array as class constant name [all …]
|
/php-src/Zend/tests/traits/ |
H A D | gh12854.phpt | 2 GH-12854 (8.3 - as final trait-used method does not correctly report visibility in Reflection) 21 pub as final; 22 prot as final; 23 priv as final; 25 final1 as private; 26 final2 as protected; 27 final3 as public; 31 foreach (['pub', 'prot', 'priv', 'final1', 'final2', 'final3'] as $method) { 42 Warning: Private methods cannot be final as they are never overridden by other classes in %s on lin… 44 Warning: Private methods cannot be final as they are never overridden by other classes in %s on lin…
|
/php-src/Zend/tests/zend_ini/ |
H A D | zend_ini_parse_quantity_error.phpt | 34 foreach ($tests as $setting) { 43 Warning: Invalid quantity "K": no valid leading digits, interpreting as "0" for backwards compatibi… 48 Warning: Invalid quantity "1KM", interpreting as "1M" for backwards compatibility in %s%ezend_ini_p… 58 Warning: Invalid quantity "1.0K", interpreting as "1K" for backwards compatibility in %s%ezend_ini_… 68 Warning: Invalid prefix "0Z", interpreting as "0" for backwards compatibility in %s%ezend_ini_parse… 98 Warning: Invalid quantity " 123\x00K", interpreting as " 123K" for backwards compatibility in %s on… 103 Warning: Invalid quantity "\x00 123K": no valid leading digits, interpreting as "0" for backwards c… 108 Warning: Invalid quantity " \x00123K": no valid leading digits, interpreting as "0" for backwards c… 113 Warning: Invalid quantity " 123\x00K", interpreting as " 123K" for backwards compatibility in %s on… 118 Warning: Invalid quantity " 123K\x00": unknown multiplier "\x00", interpreting as " 123" for backwa… [all …]
|
/php-src/ext/ctype/tests/ |
H A D | ctype_alnum_variation1.phpt | 2 Test ctype_alnum() function : usage variations - Different data types as $c arg 8 * Pass different data types as $c argument to ctype_alnum() to test behaviour 86 foreach($inputs as $input) { 101 Deprecated: ctype_alnum(): Argument of type int will be interpreted as string in the future in %s o… 106 Deprecated: ctype_alnum(): Argument of type int will be interpreted as string in the future in %s o… 111 Deprecated: ctype_alnum(): Argument of type int will be interpreted as string in the future in %s o… 116 Deprecated: ctype_alnum(): Argument of type int will be interpreted as string in the future in %s o… 121 Deprecated: ctype_alnum(): Argument of type float will be interpreted as string in the future in %s… 126 Deprecated: ctype_alnum(): Argument of type float will be interpreted as string in the future in %s… 146 Deprecated: ctype_alnum(): Argument of type null will be interpreted as string in the future in %s … [all …]
|
H A D | ctype_alpha_variation1.phpt | 2 Test ctype_alpha() function : usage variations - different data types as $c arg 8 * Pass different data types as $c argument to ctype_alpha() to test behaviour 86 foreach($inputs as $input) { 101 Deprecated: ctype_alpha(): Argument of type int will be interpreted as string in the future in %s o… 106 Deprecated: ctype_alpha(): Argument of type int will be interpreted as string in the future in %s o… 111 Deprecated: ctype_alpha(): Argument of type int will be interpreted as string in the future in %s o… 116 Deprecated: ctype_alpha(): Argument of type int will be interpreted as string in the future in %s o… 121 Deprecated: ctype_alpha(): Argument of type float will be interpreted as string in the future in %s… 126 Deprecated: ctype_alpha(): Argument of type float will be interpreted as string in the future in %s… 146 Deprecated: ctype_alpha(): Argument of type null will be interpreted as string in the future in %s … [all …]
|
H A D | ctype_cntrl_variation1.phpt | 2 Test ctype_cntrl() function : usage variations - Different data types as $c arg 8 * Pass different data types as $c argument to ctype_cntrl() to test behaviour 87 foreach($inputs as $input) { 102 Deprecated: ctype_cntrl(): Argument of type int will be interpreted as string in the future in %s o… 107 Deprecated: ctype_cntrl(): Argument of type int will be interpreted as string in the future in %s o… 112 Deprecated: ctype_cntrl(): Argument of type int will be interpreted as string in the future in %s o… 117 Deprecated: ctype_cntrl(): Argument of type int will be interpreted as string in the future in %s o… 122 Deprecated: ctype_cntrl(): Argument of type float will be interpreted as string in the future in %s… 127 Deprecated: ctype_cntrl(): Argument of type float will be interpreted as string in the future in %s… 147 Deprecated: ctype_cntrl(): Argument of type null will be interpreted as string in the future in %s … [all …]
|
H A D | ctype_digit_variation1.phpt | 2 Test ctype_digit() function : usage variations - different data types as $c arg 8 * Pass different data types as $c argument to ctype_digit() to test behaviour 86 foreach($inputs as $input) { 101 Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in %s o… 106 Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in %s o… 111 Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in %s o… 116 Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in %s o… 121 Deprecated: ctype_digit(): Argument of type float will be interpreted as string in the future in %s… 126 Deprecated: ctype_digit(): Argument of type float will be interpreted as string in the future in %s… 146 Deprecated: ctype_digit(): Argument of type null will be interpreted as string in the future in %s … [all …]
|
H A D | ctype_graph_variation1.phpt | 2 Test ctype_graph() function : usage variations - different data types as $c arg 8 * Pass different data types as $c argument to ctype_graph() to test behaviour 86 foreach($inputs as $input) { 101 Deprecated: ctype_graph(): Argument of type int will be interpreted as string in the future in %s o… 106 Deprecated: ctype_graph(): Argument of type int will be interpreted as string in the future in %s o… 111 Deprecated: ctype_graph(): Argument of type int will be interpreted as string in the future in %s o… 116 Deprecated: ctype_graph(): Argument of type int will be interpreted as string in the future in %s o… 121 Deprecated: ctype_graph(): Argument of type float will be interpreted as string in the future in %s… 126 Deprecated: ctype_graph(): Argument of type float will be interpreted as string in the future in %s… 146 Deprecated: ctype_graph(): Argument of type null will be interpreted as string in the future in %s … [all …]
|
H A D | ctype_lower_variation1.phpt | 2 Test ctype_lower() function : usage variations - different data types as $c arg 8 * Pass different data types as $c argument to ctype_lower() to test behaviour 86 foreach($inputs as $input) { 101 Deprecated: ctype_lower(): Argument of type int will be interpreted as string in the future in %s o… 106 Deprecated: ctype_lower(): Argument of type int will be interpreted as string in the future in %s o… 111 Deprecated: ctype_lower(): Argument of type int will be interpreted as string in the future in %s o… 116 Deprecated: ctype_lower(): Argument of type int will be interpreted as string in the future in %s o… 121 Deprecated: ctype_lower(): Argument of type float will be interpreted as string in the future in %s… 126 Deprecated: ctype_lower(): Argument of type float will be interpreted as string in the future in %s… 146 Deprecated: ctype_lower(): Argument of type null will be interpreted as string in the future in %s … [all …]
|
H A D | ctype_print_variation1.phpt | 2 Test ctype_print() function : usage variations - different data types as $c arg 8 * Pass different data types as $c argument to ctype_print() to test behaviour 86 foreach($inputs as $input) { 101 Deprecated: ctype_print(): Argument of type int will be interpreted as string in the future in %s o… 106 Deprecated: ctype_print(): Argument of type int will be interpreted as string in the future in %s o… 111 Deprecated: ctype_print(): Argument of type int will be interpreted as string in the future in %s o… 116 Deprecated: ctype_print(): Argument of type int will be interpreted as string in the future in %s o… 121 Deprecated: ctype_print(): Argument of type float will be interpreted as string in the future in %s… 126 Deprecated: ctype_print(): Argument of type float will be interpreted as string in the future in %s… 146 Deprecated: ctype_print(): Argument of type null will be interpreted as string in the future in %s … [all …]
|
H A D | ctype_punct_variation1.phpt | 2 Test ctype_punct() function : usage variations - different data types as $c argument 8 * Pass different data types as $c argument to ctype_punt() to test behaviour 86 foreach($inputs as $input) { 101 Deprecated: ctype_punct(): Argument of type int will be interpreted as string in the future in %s o… 106 Deprecated: ctype_punct(): Argument of type int will be interpreted as string in the future in %s o… 111 Deprecated: ctype_punct(): Argument of type int will be interpreted as string in the future in %s o… 116 Deprecated: ctype_punct(): Argument of type int will be interpreted as string in the future in %s o… 121 Deprecated: ctype_punct(): Argument of type float will be interpreted as string in the future in %s… 126 Deprecated: ctype_punct(): Argument of type float will be interpreted as string in the future in %s… 146 Deprecated: ctype_punct(): Argument of type null will be interpreted as string in the future in %s … [all …]
|
H A D | ctype_space_variation1.phpt | 2 Test ctype_space() function : usage variations - different data types as $c argument 8 * Pass different data types as $c argument to ctype_space() to test behaviour 86 foreach($inputs as $input) { 101 Deprecated: ctype_space(): Argument of type int will be interpreted as string in the future in %s o… 106 Deprecated: ctype_space(): Argument of type int will be interpreted as string in the future in %s o… 111 Deprecated: ctype_space(): Argument of type int will be interpreted as string in the future in %s o… 116 Deprecated: ctype_space(): Argument of type int will be interpreted as string in the future in %s o… 121 Deprecated: ctype_space(): Argument of type float will be interpreted as string in the future in %s… 126 Deprecated: ctype_space(): Argument of type float will be interpreted as string in the future in %s… 146 Deprecated: ctype_space(): Argument of type null will be interpreted as string in the future in %s … [all …]
|
H A D | ctype_xdigit_variation1.phpt | 2 Test ctype_xdigit() function : usage variations - different data types as $c arg 8 * Pass different data types as $c argument to ctype_xdigit() to test behaviour 86 foreach($inputs as $input) { 101 Deprecated: ctype_xdigit(): Argument of type int will be interpreted as string in the future in %s … 106 Deprecated: ctype_xdigit(): Argument of type int will be interpreted as string in the future in %s … 111 Deprecated: ctype_xdigit(): Argument of type int will be interpreted as string in the future in %s … 116 Deprecated: ctype_xdigit(): Argument of type int will be interpreted as string in the future in %s … 121 Deprecated: ctype_xdigit(): Argument of type float will be interpreted as string in the future in %… 126 Deprecated: ctype_xdigit(): Argument of type float will be interpreted as string in the future in %… 146 Deprecated: ctype_xdigit(): Argument of type null will be interpreted as string in the future in %s… [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | join_variation5.phpt | 2 Test join() function : usage variations - sub array as argument 6 * test join() by passing pieces as array containing sub array(s) 12 // pieces as array containing sub array 15 // glue as array & pieces as array containing sub array 22 // numeric value as glue, pieces as array containing sub array 25 // using directly the sub_array as pieces
|