Home
last modified time | relevance | path

Searched refs:as (Results 1 – 25 of 2578) sorted by relevance

12345678910>>...104

/PHP-8.3/Zend/tests/grammar/
H A Dsemi_reserved_009.phpt2 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-8.3/ext/standard/tests/array/
H A Darray_diff_basic.phpt11 //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 Darray_push_variation3.phpt7 * 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 Dmax_int_float_optimisation.phpt8 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 Dmin_int_float_optimisation.phpt8 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 Darray_filter_variation9.phpt2 Test array_filter() function : usage variations - built-in functions as 'callback' argument
6 * Passing built-in functions and different language constructs as 'callback' argument
9 echo "*** Testing array_filter() : usage variations - built-in functions as 'callback' argument ***…
13 // using built-in function 'is_int' as 'callback'
16 // using built-in function 'chr' as 'callback'
19 // using language construct 'echo' as 'callback'
26 // using language construct 'exit' as 'callback'
36 *** Testing array_filter() : usage variations - built-in functions as 'callback' argument ***
/PHP-8.3/ext/pdo_sqlite/tests/
H A Dbug44327_2.phpt10 $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-8.3/Zend/tests/
H A Dindexing_001.phpt9 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 Dstring_offset_as_object.phpt2 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 Ddynamic_class_const_fetch.phpt32 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-8.3/Zend/tests/traits/
H A Dgh12854.phpt2 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-8.3/Zend/tests/zend_ini/
H A Dzend_ini_parse_quantity_error.phpt34 foreach ($tests as $setting) {
42 Warning: Invalid quantity "K": no valid leading digits, interpreting as "0" for backwards compatibi…
47 Warning: Invalid quantity "1KM", interpreting as "1M" for backwards compatibility in %s%ezend_ini_p…
57 Warning: Invalid quantity "1.0K", interpreting as "1K" for backwards compatibility in %s%ezend_ini_…
67 Warning: Invalid prefix "0Z", interpreting as "0" for backwards compatibility in %s%ezend_ini_parse…
97 Warning: Invalid quantity " 123\x00K", interpreting as " 123K" for backwards compatibility in %s on…
102 Warning: Invalid quantity "\x00 123K": no valid leading digits, interpreting as "0" for backwards c…
107 Warning: Invalid quantity " \x00123K": no valid leading digits, interpreting as "0" for backwards c…
112 Warning: Invalid quantity " 123\x00K", interpreting as " 123K" for backwards compatibility in %s on…
117 Warning: Invalid quantity " 123K\x00": unknown multiplier "\x00", interpreting as " 123" for backwa…
[all …]
/PHP-8.3/ext/ctype/tests/
H A Dctype_alnum_variation1.phpt2 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 Dctype_alpha_variation1.phpt2 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 Dctype_cntrl_variation1.phpt2 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 Dctype_digit_variation1.phpt2 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 Dctype_graph_variation1.phpt2 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 Dctype_lower_variation1.phpt2 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 Dctype_print_variation1.phpt2 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 Dctype_punct_variation1.phpt2 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 Dctype_space_variation1.phpt2 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 Dctype_xdigit_variation1.phpt2 Test ctype_xdigit() function : usage variations - different data typse 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 …]
H A Dctype_upper_variation1.phpt8 * Pass different data types as $c argument to ctype_upper() to test behaviour
86 foreach($inputs as $input) {
101 Deprecated: ctype_upper(): Argument of type int will be interpreted as string in the future in %s o…
106 Deprecated: ctype_upper(): Argument of type int will be interpreted as string in the future in %s o…
111 Deprecated: ctype_upper(): Argument of type int will be interpreted as string in the future in %s o…
116 Deprecated: ctype_upper(): Argument of type int will be interpreted as string in the future in %s o…
121 Deprecated: ctype_upper(): Argument of type float will be interpreted as string in the future in %s…
126 Deprecated: ctype_upper(): Argument of type float will be interpreted as string in the future in %s…
146 Deprecated: ctype_upper(): Argument of type null will be interpreted as string in the future in %s …
151 Deprecated: ctype_upper(): Argument of type null will be interpreted as string in the future in %s …
[all …]
/PHP-8.3/ext/standard/tests/strings/
H A Djoin_variation5.phpt2 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
/PHP-8.3/ext/pdo_mysql/tests/
H A Dbug66141.phpt15 $input = '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'"
38 string(50) "'Something'', 1 as one, 2 as two FROM dual; -- f'"

Completed in 30 milliseconds

12345678910>>...104