From 422b0c8d6279ca1dc276c277491534b5ec503c33 Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Wed, 3 Dec 2025 19:55:35 -0500 Subject: [PATCH 01/15] Improve TypeError messages for non-numeric/empty strings in coercions Implements proposal from #20632 --- .../non_numarix_string_operand_error.phpt | 35 +++++++++++++++++++ Zend/zend_API.c | 22 ++++++++++++ Zend/zend_API.h | 1 + Zend/zend_execute.c | 3 ++ Zend/zend_operators.c | 2 +- 5 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 Zend/tests/non_numarix_string_operand_error.phpt diff --git a/Zend/tests/non_numarix_string_operand_error.phpt b/Zend/tests/non_numarix_string_operand_error.phpt new file mode 100644 index 0000000000000..7f30667899eb1 --- /dev/null +++ b/Zend/tests/non_numarix_string_operand_error.phpt @@ -0,0 +1,35 @@ +--TEST-- +Error message for non-numaric strings in arithmetic contexts +--FILE-- +getMessage(), 2); + return $split[0]; +} + +var_dump(1 + "1"); +try { var_dump(1 + "hello"); } catch (TypeError $e) { echo $e->getMessage(), "\n"; } +try { var_dump(1 + ""); } catch (TypeError $e) { echo $e->getMessage(), "\n"; } +try { var_dump("hello" + 1); } catch (TypeError $e) { echo $e->getMessage(), "\n"; } +try { var_dump("" + 1); } catch (TypeError $e) { echo $e->getMessage(), "\n"; } + +foo("1"); +echo "\n"; +try { foo("hello"); } catch (TypeError $e) { echo msg($e), "\n"; } +try { foo(""); } catch (TypeError $e) { echo msg($e), "\n"; } +?> +===DONE=== +--EXPECT-- +int(2) +Unsupported operand types: int + non-numeric string +Unsupported operand types: int + empty string +Unsupported operand types: non-numeric string + int +Unsupported operand types: empty string + int +1 +foo(): Argument #1 ($a) must be of type int, non-numeric string given +foo(): Argument #1 ($a) must be of type int, empty string given +===DONE=== diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 601d753bd2aa6..a0bbd03fd5afa 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -149,6 +149,26 @@ ZEND_API const char *zend_zval_value_name(const zval *arg) return zend_get_type_by_const(Z_TYPE_P(arg)); } +ZEND_API const char *zend_zval_namaric_string_value_name(const zval *arg) +{ + const zval *val = arg; + + if (Z_TYPE_P(val) == IS_REFERENCE) { + val = Z_REFVAL_P(val); + } + + if (Z_TYPE_P(val) == IS_STRING) { + if (Z_STRLEN_P(val) == 0) { + return "empty string"; + } + + return "non-numeric string"; + } + + return zend_zval_type_name(val); +} + + ZEND_API const char *zend_zval_type_name(const zval *arg) { ZVAL_DEREF(arg); @@ -164,6 +184,8 @@ ZEND_API const char *zend_zval_type_name(const zval *arg) return zend_get_type_by_const(Z_TYPE_P(arg)); } + + /* This API exists *only* for use in gettype(). * For anything else, you likely want zend_zval_type_name(). */ ZEND_API zend_string *zend_zval_get_legacy_type(const zval *arg) /* {{{ */ diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 1bb47a2e8703d..0442f910783c8 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -365,6 +365,7 @@ ZEND_API zend_result zend_parse_parameters_ex(int flags, uint32_t num_args, cons zend_parse_parameters(num_args, __VA_ARGS__) ZEND_API const char *zend_zval_type_name(const zval *arg); ZEND_API const char *zend_zval_value_name(const zval *arg); +ZEND_API const char *zend_zval_namaric_string_value_name(const zval *arg); ZEND_API zend_string *zend_zval_get_legacy_type(const zval *arg); ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...); diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index d411dcbc3b953..1eb41c20d0d3b 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -718,6 +718,9 @@ ZEND_API ZEND_COLD void zend_verify_arg_error( ZEND_ASSERT(zf->common.type == ZEND_USER_FUNCTION && "Arginfo verification is not performed for internal functions"); + + given_msg = zend_zval_namaric_string_value_name(value); + if (ptr && ptr->func && ZEND_USER_CODE(ptr->func->common.type)) { zend_argument_type_error(arg_num, "must be of type %s, %s given, called in %s on line %d", ZSTR_VAL(need_msg), given_msg, diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 2550fcbeb1cde..6949a8df1e063 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -1122,7 +1122,7 @@ static ZEND_COLD zend_never_inline void ZEND_FASTCALL zend_binop_error(const cha } zend_type_error("Unsupported operand types: %s %s %s", - zend_zval_type_name(op1), operator, zend_zval_type_name(op2)); + zend_zval_namaric_string_value_name(op1), operator, zend_zval_namaric_string_value_name(op2)); } /* }}} */ From 277f1c6e533fcab0aef4c0d4042a99938f4838b0 Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Wed, 3 Dec 2025 22:02:33 -0500 Subject: [PATCH 02/15] Update: Unit Test to #20632 --- Zend/tests/add_006.phpt | 4 +- Zend/tests/add_007.phpt | 4 +- Zend/tests/arrow_functions/006.phpt | 4 +- Zend/tests/assign_op_type_error.phpt | 16 +- Zend/tests/attributes/030_strict_types.phpt | 2 +- Zend/tests/exceptions/exception_017.phpt | 2 +- Zend/tests/fibers/start-arguments.phpt | 2 +- .../first_class_callable_015.phpt | 2 +- ...ument_count_incorrect_userland_strict.phpt | 2 +- Zend/tests/gh19719.phpt | 2 +- ...c_string_must_generate_warning_assign.phpt | 28 +- ...numeric_strings_must_generate_warning.phpt | 32 +- Zend/tests/operator_unsupported_types.phpt | 1448 ++++++++--------- Zend/tests/pipe_operator/type_mismatch.phpt | 2 +- Zend/tests/self_and.phpt | 2 +- Zend/tests/self_mod.phpt | 2 +- Zend/tests/self_or.phpt | 2 +- Zend/tests/self_xor.phpt | 2 +- Zend/tests/shift_001.phpt | 2 +- Zend/tests/shift_002.phpt | 2 +- Zend/tests/traits/trait_type_errors.phpt | 4 +- .../literal_types/false_no_coercion.phpt | 2 +- .../literal_types/true_no_coercion.phpt | 2 +- .../tests/type_declarations/scalar_basic.phpt | 12 +- .../scalar_constant_defaults_error.phpt | 2 +- .../scalar_strict_64bit.phpt | 36 +- .../scalar_strict_basic.phpt | 18 +- .../union_types/type_checking_strict.phpt | 78 +- .../union_types/type_checking_weak.phpt | 18 +- ext/opcache/tests/jit/add_005.phpt | 2 +- ext/opcache/tests/jit/assign_dim_op_001.phpt | 2 +- ext/opcache/tests/jit/mul_005.phpt | 2 +- ext/opcache/tests/jit/mul_010.phpt | 2 +- ext/phar/tests/extract/testit/existing.txt | 1 + .../tests/math/pow_variation1_64bit.phpt | 4 +- ext/standard/tests/math/pow_variation2.phpt | 4 +- tests/lang/bug28800.phpt | 12 +- tests/lang/operators/add_variationStr.phpt | 104 +- .../bitwiseShiftLeft_variationStr.phpt | 104 +- .../bitwiseShiftLeft_variationStr_64bit.phpt | 104 +- .../bitwiseShiftRight_variationStr.phpt | 104 +- tests/lang/operators/divide_variationStr.phpt | 104 +- .../lang/operators/modulus_variationStr.phpt | 104 +- .../lang/operators/multiply_variationStr.phpt | 104 +- tests/lang/operators/negate_variationStr.phpt | 4 +- .../lang/operators/subtract_variationStr.phpt | 104 +- 46 files changed, 1300 insertions(+), 1299 deletions(-) create mode 100644 ext/phar/tests/extract/testit/existing.txt diff --git a/Zend/tests/add_006.phpt b/Zend/tests/add_006.phpt index 09945f3fce6c1..626c5a7928237 100644 --- a/Zend/tests/add_006.phpt +++ b/Zend/tests/add_006.phpt @@ -45,13 +45,13 @@ var_dump($c); echo "Done\n"; ?> --EXPECTF-- -Unsupported operand types: int + string +Unsupported operand types: int + non-numeric string Warning: A non-numeric value encountered in %s on line %d int(951858) int(48550510) float(75661.68) -Unsupported operand types: string + int +Unsupported operand types: non-numeric string + int Warning: A non-numeric value encountered in %s on line %d int(951858) diff --git a/Zend/tests/add_007.phpt b/Zend/tests/add_007.phpt index a2beddfaed41f..34ea6520759e7 100644 --- a/Zend/tests/add_007.phpt +++ b/Zend/tests/add_007.phpt @@ -19,9 +19,9 @@ var_dump($c); echo "Done\n"; ?> --EXPECTF-- -Exception: Unsupported operand types: array + string +Exception: Unsupported operand types: array + non-numeric string -Fatal error: Uncaught TypeError: Unsupported operand types: array + string in %s:%d +Fatal error: Uncaught TypeError: Unsupported operand types: array + non-numeric string in %s:%d Stack trace: #0 {main} thrown in %s on line %d diff --git a/Zend/tests/arrow_functions/006.phpt b/Zend/tests/arrow_functions/006.phpt index 6f61b3c817d9e..9609020ef9dee 100644 --- a/Zend/tests/arrow_functions/006.phpt +++ b/Zend/tests/arrow_functions/006.phpt @@ -32,7 +32,7 @@ try { --EXPECTF-- int(2) int(10) -{closure:%s:%d}(): Argument #1 ($x) must be of type int, string given, called in %s on line %d +{closure:%s:%d}(): Argument #1 ($x) must be of type int, non-numeric string given, called in %s on line %d array(3) { [0]=> int(20) @@ -41,4 +41,4 @@ array(3) { [2]=> int(30) } -{closure:%s:%d}(): Argument #2 must be of type ?int, string given, called in %s on line %d +{closure:%s:%d}(): Argument #2 must be of type ?int, non-numeric string given, called in %s on line %d diff --git a/Zend/tests/assign_op_type_error.phpt b/Zend/tests/assign_op_type_error.phpt index 5f175613e20b8..b06127095b612 100644 --- a/Zend/tests/assign_op_type_error.phpt +++ b/Zend/tests/assign_op_type_error.phpt @@ -47,11 +47,11 @@ try { ?> --EXPECT-- -Unsupported operand types: array + string -Unsupported operand types: array - string -Unsupported operand types: array * string -Unsupported operand types: array / string -Unsupported operand types: array ** string -Unsupported operand types: array % string -Unsupported operand types: array << string -Unsupported operand types: array >> string +Unsupported operand types: array + non-numeric string +Unsupported operand types: array - non-numeric string +Unsupported operand types: array * non-numeric string +Unsupported operand types: array / non-numeric string +Unsupported operand types: array ** non-numeric string +Unsupported operand types: array % non-numeric string +Unsupported operand types: array << non-numeric string +Unsupported operand types: array >> non-numeric string diff --git a/Zend/tests/attributes/030_strict_types.phpt b/Zend/tests/attributes/030_strict_types.phpt index d46b4d4a329a9..5b70e57c34e80 100644 --- a/Zend/tests/attributes/030_strict_types.phpt +++ b/Zend/tests/attributes/030_strict_types.phpt @@ -23,7 +23,7 @@ object(MyAttribute)#1 (1) { int(42) } -Fatal error: Uncaught TypeError: MyAttribute::__construct(): Argument #1 ($value) must be of type int, string given, called in %s030_strict_types.inc on line 4 and defined in %s030_strict_types.php:5 +Fatal error: Uncaught TypeError: MyAttribute::__construct(): Argument #1 ($value) must be of type int, non-numeric string given, called in %s030_strict_types.inc on line 4 and defined in %s030_strict_types.php:5 Stack trace: #0 %s030_strict_types.inc(4): MyAttribute->__construct('42') #1 %s(%d): ReflectionAttribute->newInstance() diff --git a/Zend/tests/exceptions/exception_017.phpt b/Zend/tests/exceptions/exception_017.phpt index f2f5f964ce8f0..239518be6c0fb 100644 --- a/Zend/tests/exceptions/exception_017.phpt +++ b/Zend/tests/exceptions/exception_017.phpt @@ -28,7 +28,7 @@ Error: Cannot call abstract method C::foo() in %s:%d Stack trace: #0 {main} -TypeError: foo(): Argument #1 ($x) must be of type callable, string given, called in %s:%d +TypeError: foo(): Argument #1 ($x) must be of type callable, non-numeric string given, called in %s:%d Stack trace: #0 %s(%d): foo('C::foo') #1 {main} diff --git a/Zend/tests/fibers/start-arguments.phpt b/Zend/tests/fibers/start-arguments.phpt index 6f22eb401762e..ff5aa7d0d49c1 100644 --- a/Zend/tests/fibers/start-arguments.phpt +++ b/Zend/tests/fibers/start-arguments.phpt @@ -21,7 +21,7 @@ $fiber->start('test'); --EXPECTF-- int(1) -Fatal error: Uncaught TypeError: {closure:%s:%d}(): Argument #1 ($x) must be of type int, string given in %s:%d +Fatal error: Uncaught TypeError: {closure:%s:%d}(): Argument #1 ($x) must be of type int, non-numeric string given in %s:%d Stack trace: #0 [internal function]: {closure:%s:%d}('test') #1 %sstart-arguments.php(%d): Fiber->start('test') diff --git a/Zend/tests/first_class_callable/first_class_callable_015.phpt b/Zend/tests/first_class_callable/first_class_callable_015.phpt index 72e1d413dd708..9e18991aa1f97 100644 --- a/Zend/tests/first_class_callable/first_class_callable_015.phpt +++ b/Zend/tests/first_class_callable/first_class_callable_015.phpt @@ -21,4 +21,4 @@ try { ?> --EXPECTF-- int(42) -test(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +test(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d diff --git a/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt b/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt index 2a67a9ce4c6ba..2e4293fb0113f 100644 --- a/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt +++ b/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt @@ -50,6 +50,6 @@ Too few arguments to function bar(), 1 passed in %s and exactly 2 expected ArgumentCountError Too few arguments to function bat(), 1 passed in %s and exactly 2 expected TypeError -bat(): Argument #1 ($foo) must be of type int, string given, called in %s on line %d +bat(): Argument #1 ($foo) must be of type int, non-numeric string given, called in %s on line %d TypeError bat(): Argument #2 ($bar) must be of type string, int given, called in %s on line %d diff --git a/Zend/tests/gh19719.phpt b/Zend/tests/gh19719.phpt index 715e847846fe1..793f5030e2544 100644 --- a/Zend/tests/gh19719.phpt +++ b/Zend/tests/gh19719.phpt @@ -18,4 +18,4 @@ try { ?> --EXPECTF-- -takesInt(): Argument #1 ($x) must be of type int, string given, called in %s on line %d +takesInt(): Argument #1 ($x) must be of type int, non-numeric string given, called in %s on line %d diff --git a/Zend/tests/numeric_strings/invalid_numeric_string_must_generate_warning_assign.phpt b/Zend/tests/numeric_strings/invalid_numeric_string_must_generate_warning_assign.phpt index 51df22634869c..d9cf576b9419e 100644 --- a/Zend/tests/numeric_strings/invalid_numeric_string_must_generate_warning_assign.phpt +++ b/Zend/tests/numeric_strings/invalid_numeric_string_must_generate_warning_assign.phpt @@ -164,49 +164,49 @@ Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(5) -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(-2) -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(143) -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d float(0.8947368421052632) -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d float(3.0910586430935376E+39) -Unsupported operand types: string ** string +Unsupported operand types: non-numeric string ** non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(31) -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(%d) -Unsupported operand types: string << string +Unsupported operand types: non-numeric string << non-numeric string string(4) "quis" --- @@ -214,7 +214,7 @@ Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(0) -Unsupported operand types: string >> string +Unsupported operand types: non-numeric string >> non-numeric string --- Warning: A non-numeric value encountered in %s on line %d @@ -222,8 +222,8 @@ int(63) Warning: A non-numeric value encountered in %s on line %d int(71) -Unsupported operand types: string | int -Unsupported operand types: int | string +Unsupported operand types: non-numeric string | int +Unsupported operand types: int | non-numeric string --- Warning: A non-numeric value encountered in %s on line %d @@ -231,8 +231,8 @@ int(81) Warning: A non-numeric value encountered in %s on line %d int(97) -Unsupported operand types: string & int -Unsupported operand types: int & string +Unsupported operand types: non-numeric string & int +Unsupported operand types: int & non-numeric string --- Warning: A non-numeric value encountered in %s on line %d @@ -240,5 +240,5 @@ int(28) Warning: A non-numeric value encountered in %s on line %d int(252) -Unsupported operand types: string ^ int -Unsupported operand types: int ^ string +Unsupported operand types: non-numeric string ^ int +Unsupported operand types: int ^ non-numeric string diff --git a/Zend/tests/numeric_strings/invalid_numeric_strings_must_generate_warning.phpt b/Zend/tests/numeric_strings/invalid_numeric_strings_must_generate_warning.phpt index 2b76f538f46ed..281fc033492ca 100644 --- a/Zend/tests/numeric_strings/invalid_numeric_strings_must_generate_warning.phpt +++ b/Zend/tests/numeric_strings/invalid_numeric_strings_must_generate_warning.phpt @@ -117,56 +117,56 @@ Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(5) -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(-2) -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(143) -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d float(0.8947368421052632) -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d float(3.0910586430935376E+39) -Unsupported operand types: string ** string +Unsupported operand types: non-numeric string ** non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(31) -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(%d) -Unsupported operand types: string << string +Unsupported operand types: non-numeric string << non-numeric string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(0) -Unsupported operand types: string >> string +Unsupported operand types: non-numeric string >> non-numeric string --- Warning: A non-numeric value encountered in %s on line %d @@ -174,8 +174,8 @@ int(63) Warning: A non-numeric value encountered in %s on line %d int(71) -Unsupported operand types: string | int -Unsupported operand types: int | string +Unsupported operand types: non-numeric string | int +Unsupported operand types: int | non-numeric string --- Warning: A non-numeric value encountered in %s on line %d @@ -183,8 +183,8 @@ int(81) Warning: A non-numeric value encountered in %s on line %d int(97) -Unsupported operand types: string & int -Unsupported operand types: int & string +Unsupported operand types: non-numeric string & int +Unsupported operand types: int & non-numeric string --- Warning: A non-numeric value encountered in %s on line %d @@ -192,15 +192,15 @@ int(28) Warning: A non-numeric value encountered in %s on line %d int(252) -Unsupported operand types: string ^ int -Unsupported operand types: int ^ string +Unsupported operand types: non-numeric string ^ int +Unsupported operand types: int ^ non-numeric string --- Warning: A non-numeric value encountered in %s on line %d int(149) -Unsupported operand types: string * int +Unsupported operand types: non-numeric string * int --- Warning: A non-numeric value encountered in %s on line %d int(-151) -Unsupported operand types: string * int +Unsupported operand types: non-numeric string * int diff --git a/Zend/tests/operator_unsupported_types.phpt b/Zend/tests/operator_unsupported_types.phpt index a08032226e5db..ffd7b157e6d24 100644 --- a/Zend/tests/operator_unsupported_types.phpt +++ b/Zend/tests/operator_unsupported_types.phpt @@ -129,19 +129,19 @@ BINARY OP: No error for [] + [] Unsupported operand types: array + stdClass Unsupported operand types: array + resource -Unsupported operand types: array + string +Unsupported operand types: array + non-numeric string Unsupported operand types: stdClass + array Unsupported operand types: stdClass + stdClass Unsupported operand types: stdClass + resource -Unsupported operand types: stdClass + string +Unsupported operand types: stdClass + non-numeric string Unsupported operand types: resource + array Unsupported operand types: resource + stdClass Unsupported operand types: resource + resource -Unsupported operand types: resource + string -Unsupported operand types: string + array -Unsupported operand types: string + stdClass -Unsupported operand types: string + resource -Unsupported operand types: string + string +Unsupported operand types: resource + non-numeric string +Unsupported operand types: non-numeric string + array +Unsupported operand types: non-numeric string + stdClass +Unsupported operand types: non-numeric string + resource +Unsupported operand types: non-numeric string + non-numeric string Unsupported operand types: array + null Unsupported operand types: null + array Unsupported operand types: array + bool @@ -152,11 +152,11 @@ Unsupported operand types: array + int Unsupported operand types: int + array Unsupported operand types: array + float Unsupported operand types: float + array -Unsupported operand types: array + string -Unsupported operand types: string + array -Unsupported operand types: array + string +Unsupported operand types: array + non-numeric string +Unsupported operand types: non-numeric string + array +Unsupported operand types: array + non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string + array +Unsupported operand types: non-numeric string + array Unsupported operand types: stdClass + null Unsupported operand types: null + stdClass Unsupported operand types: stdClass + bool @@ -167,11 +167,11 @@ Unsupported operand types: stdClass + int Unsupported operand types: int + stdClass Unsupported operand types: stdClass + float Unsupported operand types: float + stdClass -Unsupported operand types: stdClass + string -Unsupported operand types: string + stdClass -Unsupported operand types: stdClass + string +Unsupported operand types: stdClass + non-numeric string +Unsupported operand types: non-numeric string + stdClass +Unsupported operand types: stdClass + non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string + stdClass +Unsupported operand types: non-numeric string + stdClass Unsupported operand types: resource + null Unsupported operand types: null + resource Unsupported operand types: resource + bool @@ -182,42 +182,42 @@ Unsupported operand types: resource + int Unsupported operand types: int + resource Unsupported operand types: resource + float Unsupported operand types: float + resource -Unsupported operand types: resource + string -Unsupported operand types: string + resource -Unsupported operand types: resource + string -Warning: A non-numeric value encountered -Unsupported operand types: string + resource -Unsupported operand types: string + null -Unsupported operand types: null + string -Unsupported operand types: string + bool -Unsupported operand types: bool + string -Unsupported operand types: string + bool -Unsupported operand types: bool + string -Unsupported operand types: string + int -Unsupported operand types: int + string -Unsupported operand types: string + float -Unsupported operand types: float + string -Unsupported operand types: string + string -Unsupported operand types: string + string -Unsupported operand types: string + string -Warning: A non-numeric value encountered -Unsupported operand types: string + string +Unsupported operand types: resource + non-numeric string +Unsupported operand types: non-numeric string + resource +Unsupported operand types: resource + non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string + resource +Unsupported operand types: non-numeric string + null +Unsupported operand types: null + non-numeric string +Unsupported operand types: non-numeric string + bool +Unsupported operand types: bool + non-numeric string +Unsupported operand types: non-numeric string + bool +Unsupported operand types: bool + non-numeric string +Unsupported operand types: non-numeric string + int +Unsupported operand types: int + non-numeric string +Unsupported operand types: non-numeric string + float +Unsupported operand types: float + non-numeric string +Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric string + non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string + non-numeric string Unsupported operand types: array - array Unsupported operand types: array - stdClass Unsupported operand types: array - resource -Unsupported operand types: array - string +Unsupported operand types: array - non-numeric string Unsupported operand types: stdClass - array Unsupported operand types: stdClass - stdClass Unsupported operand types: stdClass - resource -Unsupported operand types: stdClass - string +Unsupported operand types: stdClass - non-numeric string Unsupported operand types: resource - array Unsupported operand types: resource - stdClass Unsupported operand types: resource - resource -Unsupported operand types: resource - string -Unsupported operand types: string - array -Unsupported operand types: string - stdClass -Unsupported operand types: string - resource -Unsupported operand types: string - string +Unsupported operand types: resource - non-numeric string +Unsupported operand types: non-numeric string - array +Unsupported operand types: non-numeric string - stdClass +Unsupported operand types: non-numeric string - resource +Unsupported operand types: non-numeric string - non-numeric string Unsupported operand types: array - null Unsupported operand types: null - array Unsupported operand types: array - bool @@ -228,11 +228,11 @@ Unsupported operand types: array - int Unsupported operand types: int - array Unsupported operand types: array - float Unsupported operand types: float - array -Unsupported operand types: array - string -Unsupported operand types: string - array -Unsupported operand types: array - string +Unsupported operand types: array - non-numeric string +Unsupported operand types: non-numeric string - array +Unsupported operand types: array - non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string - array +Unsupported operand types: non-numeric string - array Unsupported operand types: stdClass - null Unsupported operand types: null - stdClass Unsupported operand types: stdClass - bool @@ -243,11 +243,11 @@ Unsupported operand types: stdClass - int Unsupported operand types: int - stdClass Unsupported operand types: stdClass - float Unsupported operand types: float - stdClass -Unsupported operand types: stdClass - string -Unsupported operand types: string - stdClass -Unsupported operand types: stdClass - string +Unsupported operand types: stdClass - non-numeric string +Unsupported operand types: non-numeric string - stdClass +Unsupported operand types: stdClass - non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string - stdClass +Unsupported operand types: non-numeric string - stdClass Unsupported operand types: resource - null Unsupported operand types: null - resource Unsupported operand types: resource - bool @@ -258,42 +258,42 @@ Unsupported operand types: resource - int Unsupported operand types: int - resource Unsupported operand types: resource - float Unsupported operand types: float - resource -Unsupported operand types: resource - string -Unsupported operand types: string - resource -Unsupported operand types: resource - string -Warning: A non-numeric value encountered -Unsupported operand types: string - resource -Unsupported operand types: string - null -Unsupported operand types: null - string -Unsupported operand types: string - bool -Unsupported operand types: bool - string -Unsupported operand types: string - bool -Unsupported operand types: bool - string -Unsupported operand types: string - int -Unsupported operand types: int - string -Unsupported operand types: string - float -Unsupported operand types: float - string -Unsupported operand types: string - string -Unsupported operand types: string - string -Unsupported operand types: string - string -Warning: A non-numeric value encountered -Unsupported operand types: string - string +Unsupported operand types: resource - non-numeric string +Unsupported operand types: non-numeric string - resource +Unsupported operand types: resource - non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string - resource +Unsupported operand types: non-numeric string - null +Unsupported operand types: null - non-numeric string +Unsupported operand types: non-numeric string - bool +Unsupported operand types: bool - non-numeric string +Unsupported operand types: non-numeric string - bool +Unsupported operand types: bool - non-numeric string +Unsupported operand types: non-numeric string - int +Unsupported operand types: int - non-numeric string +Unsupported operand types: non-numeric string - float +Unsupported operand types: float - non-numeric string +Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric string - non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string - non-numeric string Unsupported operand types: array * array Unsupported operand types: stdClass * array Unsupported operand types: resource * array -Unsupported operand types: array * string +Unsupported operand types: array * non-numeric string Unsupported operand types: stdClass * array Unsupported operand types: stdClass * stdClass Unsupported operand types: stdClass * resource -Unsupported operand types: stdClass * string +Unsupported operand types: stdClass * non-numeric string Unsupported operand types: resource * array Unsupported operand types: stdClass * resource Unsupported operand types: resource * resource -Unsupported operand types: resource * string -Unsupported operand types: string * array -Unsupported operand types: stdClass * string -Unsupported operand types: resource * string -Unsupported operand types: string * string +Unsupported operand types: resource * non-numeric string +Unsupported operand types: non-numeric string * array +Unsupported operand types: stdClass * non-numeric string +Unsupported operand types: resource * non-numeric string +Unsupported operand types: non-numeric string * non-numeric string Unsupported operand types: array * null Unsupported operand types: null * array Unsupported operand types: array * bool @@ -304,11 +304,11 @@ Unsupported operand types: array * int Unsupported operand types: int * array Unsupported operand types: array * float Unsupported operand types: float * array -Unsupported operand types: array * string -Unsupported operand types: string * array -Unsupported operand types: array * string +Unsupported operand types: array * non-numeric string +Unsupported operand types: non-numeric string * array +Unsupported operand types: array * non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string * array +Unsupported operand types: non-numeric string * array Unsupported operand types: stdClass * null Unsupported operand types: stdClass * null Unsupported operand types: stdClass * bool @@ -319,10 +319,10 @@ Unsupported operand types: stdClass * int Unsupported operand types: stdClass * int Unsupported operand types: stdClass * float Unsupported operand types: stdClass * float -Unsupported operand types: stdClass * string -Unsupported operand types: stdClass * string -Unsupported operand types: stdClass * string -Unsupported operand types: stdClass * string +Unsupported operand types: stdClass * non-numeric string +Unsupported operand types: stdClass * non-numeric string +Unsupported operand types: stdClass * non-numeric string +Unsupported operand types: stdClass * non-numeric string Unsupported operand types: resource * null Unsupported operand types: resource * null Unsupported operand types: resource * bool @@ -333,41 +333,41 @@ Unsupported operand types: resource * int Unsupported operand types: resource * int Unsupported operand types: resource * float Unsupported operand types: resource * float -Unsupported operand types: resource * string -Unsupported operand types: resource * string -Unsupported operand types: resource * string -Unsupported operand types: resource * string -Unsupported operand types: string * null -Unsupported operand types: null * string -Unsupported operand types: string * bool -Unsupported operand types: bool * string -Unsupported operand types: string * bool -Unsupported operand types: bool * string -Unsupported operand types: string * int -Unsupported operand types: int * string -Unsupported operand types: string * float -Unsupported operand types: float * string -Unsupported operand types: string * string -Unsupported operand types: string * string -Unsupported operand types: string * string -Warning: A non-numeric value encountered -Unsupported operand types: string * string +Unsupported operand types: resource * non-numeric string +Unsupported operand types: resource * non-numeric string +Unsupported operand types: resource * non-numeric string +Unsupported operand types: resource * non-numeric string +Unsupported operand types: non-numeric string * null +Unsupported operand types: null * non-numeric string +Unsupported operand types: non-numeric string * bool +Unsupported operand types: bool * non-numeric string +Unsupported operand types: non-numeric string * bool +Unsupported operand types: bool * non-numeric string +Unsupported operand types: non-numeric string * int +Unsupported operand types: int * non-numeric string +Unsupported operand types: non-numeric string * float +Unsupported operand types: float * non-numeric string +Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric string * non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string * non-numeric string Unsupported operand types: array / array Unsupported operand types: array / stdClass Unsupported operand types: array / resource -Unsupported operand types: array / string +Unsupported operand types: array / non-numeric string Unsupported operand types: stdClass / array Unsupported operand types: stdClass / stdClass Unsupported operand types: stdClass / resource -Unsupported operand types: stdClass / string +Unsupported operand types: stdClass / non-numeric string Unsupported operand types: resource / array Unsupported operand types: resource / stdClass Unsupported operand types: resource / resource -Unsupported operand types: resource / string -Unsupported operand types: string / array -Unsupported operand types: string / stdClass -Unsupported operand types: string / resource -Unsupported operand types: string / string +Unsupported operand types: resource / non-numeric string +Unsupported operand types: non-numeric string / array +Unsupported operand types: non-numeric string / stdClass +Unsupported operand types: non-numeric string / resource +Unsupported operand types: non-numeric string / non-numeric string Unsupported operand types: array / null Unsupported operand types: null / array Unsupported operand types: array / bool @@ -378,11 +378,11 @@ Unsupported operand types: array / int Unsupported operand types: int / array Unsupported operand types: array / float Unsupported operand types: float / array -Unsupported operand types: array / string -Unsupported operand types: string / array -Unsupported operand types: array / string +Unsupported operand types: array / non-numeric string +Unsupported operand types: non-numeric string / array +Unsupported operand types: array / non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string / array +Unsupported operand types: non-numeric string / array Unsupported operand types: stdClass / null Unsupported operand types: null / stdClass Unsupported operand types: stdClass / bool @@ -393,11 +393,11 @@ Unsupported operand types: stdClass / int Unsupported operand types: int / stdClass Unsupported operand types: stdClass / float Unsupported operand types: float / stdClass -Unsupported operand types: stdClass / string -Unsupported operand types: string / stdClass -Unsupported operand types: stdClass / string +Unsupported operand types: stdClass / non-numeric string +Unsupported operand types: non-numeric string / stdClass +Unsupported operand types: stdClass / non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string / stdClass +Unsupported operand types: non-numeric string / stdClass Unsupported operand types: resource / null Unsupported operand types: null / resource Unsupported operand types: resource / bool @@ -408,42 +408,42 @@ Unsupported operand types: resource / int Unsupported operand types: int / resource Unsupported operand types: resource / float Unsupported operand types: float / resource -Unsupported operand types: resource / string -Unsupported operand types: string / resource -Unsupported operand types: resource / string -Warning: A non-numeric value encountered -Unsupported operand types: string / resource -Unsupported operand types: string / null -Unsupported operand types: null / string -Unsupported operand types: string / bool -Unsupported operand types: bool / string -Unsupported operand types: string / bool -Unsupported operand types: bool / string -Unsupported operand types: string / int -Unsupported operand types: int / string -Unsupported operand types: string / float -Unsupported operand types: float / string -Unsupported operand types: string / string -Unsupported operand types: string / string -Unsupported operand types: string / string -Warning: A non-numeric value encountered -Unsupported operand types: string / string +Unsupported operand types: resource / non-numeric string +Unsupported operand types: non-numeric string / resource +Unsupported operand types: resource / non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string / resource +Unsupported operand types: non-numeric string / null +Unsupported operand types: null / non-numeric string +Unsupported operand types: non-numeric string / bool +Unsupported operand types: bool / non-numeric string +Unsupported operand types: non-numeric string / bool +Unsupported operand types: bool / non-numeric string +Unsupported operand types: non-numeric string / int +Unsupported operand types: int / non-numeric string +Unsupported operand types: non-numeric string / float +Unsupported operand types: float / non-numeric string +Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric string / non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string / non-numeric string Unsupported operand types: array % array Unsupported operand types: array % stdClass Unsupported operand types: array % resource -Unsupported operand types: array % string +Unsupported operand types: array % non-numeric string Unsupported operand types: stdClass % array Unsupported operand types: stdClass % stdClass Unsupported operand types: stdClass % resource -Unsupported operand types: stdClass % string +Unsupported operand types: stdClass % non-numeric string Unsupported operand types: resource % array Unsupported operand types: resource % stdClass Unsupported operand types: resource % resource -Unsupported operand types: resource % string -Unsupported operand types: string % array -Unsupported operand types: string % stdClass -Unsupported operand types: string % resource -Unsupported operand types: string % string +Unsupported operand types: resource % non-numeric string +Unsupported operand types: non-numeric string % array +Unsupported operand types: non-numeric string % stdClass +Unsupported operand types: non-numeric string % resource +Unsupported operand types: non-numeric string % non-numeric string Unsupported operand types: array % null Unsupported operand types: null % array Unsupported operand types: array % bool @@ -455,11 +455,11 @@ Unsupported operand types: int % array Unsupported operand types: array % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % array -Unsupported operand types: array % string -Unsupported operand types: string % array -Unsupported operand types: array % string +Unsupported operand types: array % non-numeric string +Unsupported operand types: non-numeric string % array +Unsupported operand types: array % non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string % array +Unsupported operand types: non-numeric string % array Unsupported operand types: stdClass % null Unsupported operand types: null % stdClass Unsupported operand types: stdClass % bool @@ -471,11 +471,11 @@ Unsupported operand types: int % stdClass Unsupported operand types: stdClass % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % stdClass -Unsupported operand types: stdClass % string -Unsupported operand types: string % stdClass -Unsupported operand types: stdClass % string +Unsupported operand types: stdClass % non-numeric string +Unsupported operand types: non-numeric string % stdClass +Unsupported operand types: stdClass % non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string % stdClass +Unsupported operand types: non-numeric string % stdClass Unsupported operand types: resource % null Unsupported operand types: null % resource Unsupported operand types: resource % bool @@ -487,43 +487,43 @@ Unsupported operand types: int % resource Unsupported operand types: resource % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % resource -Unsupported operand types: resource % string -Unsupported operand types: string % resource -Unsupported operand types: resource % string -Warning: A non-numeric value encountered -Unsupported operand types: string % resource -Unsupported operand types: string % null -Unsupported operand types: null % string -Unsupported operand types: string % bool -Unsupported operand types: bool % string -Unsupported operand types: string % bool -Unsupported operand types: bool % string -Unsupported operand types: string % int -Unsupported operand types: int % string -Unsupported operand types: string % float +Unsupported operand types: resource % non-numeric string +Unsupported operand types: non-numeric string % resource +Unsupported operand types: resource % non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string % resource +Unsupported operand types: non-numeric string % null +Unsupported operand types: null % non-numeric string +Unsupported operand types: non-numeric string % bool +Unsupported operand types: bool % non-numeric string +Unsupported operand types: non-numeric string % bool +Unsupported operand types: bool % non-numeric string +Unsupported operand types: non-numeric string % int +Unsupported operand types: int % non-numeric string +Unsupported operand types: non-numeric string % float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float % string -Unsupported operand types: string % string -Unsupported operand types: string % string -Unsupported operand types: string % string +Unsupported operand types: float % non-numeric string +Unsupported operand types: non-numeric string % non-numeric string +Unsupported operand types: non-numeric string % non-numeric string +Unsupported operand types: non-numeric string % non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string % string +Unsupported operand types: non-numeric string % non-numeric string Unsupported operand types: array ** array Unsupported operand types: array ** stdClass Unsupported operand types: array ** resource -Unsupported operand types: array ** string +Unsupported operand types: array ** non-numeric string Unsupported operand types: stdClass ** array Unsupported operand types: stdClass ** stdClass Unsupported operand types: stdClass ** resource -Unsupported operand types: stdClass ** string +Unsupported operand types: stdClass ** non-numeric string Unsupported operand types: resource ** array Unsupported operand types: resource ** stdClass Unsupported operand types: resource ** resource -Unsupported operand types: resource ** string -Unsupported operand types: string ** array -Unsupported operand types: string ** stdClass -Unsupported operand types: string ** resource -Unsupported operand types: string ** string +Unsupported operand types: resource ** non-numeric string +Unsupported operand types: non-numeric string ** array +Unsupported operand types: non-numeric string ** stdClass +Unsupported operand types: non-numeric string ** resource +Unsupported operand types: non-numeric string ** non-numeric string Unsupported operand types: array ** null Unsupported operand types: null ** array Unsupported operand types: array ** bool @@ -534,11 +534,11 @@ Unsupported operand types: array ** int Unsupported operand types: int ** array Unsupported operand types: array ** float Unsupported operand types: float ** array -Unsupported operand types: array ** string -Unsupported operand types: string ** array -Unsupported operand types: array ** string +Unsupported operand types: array ** non-numeric string +Unsupported operand types: non-numeric string ** array +Unsupported operand types: array ** non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string ** array +Unsupported operand types: non-numeric string ** array Unsupported operand types: stdClass ** null Unsupported operand types: null ** stdClass Unsupported operand types: stdClass ** bool @@ -549,11 +549,11 @@ Unsupported operand types: stdClass ** int Unsupported operand types: int ** stdClass Unsupported operand types: stdClass ** float Unsupported operand types: float ** stdClass -Unsupported operand types: stdClass ** string -Unsupported operand types: string ** stdClass -Unsupported operand types: stdClass ** string +Unsupported operand types: stdClass ** non-numeric string +Unsupported operand types: non-numeric string ** stdClass +Unsupported operand types: stdClass ** non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string ** stdClass +Unsupported operand types: non-numeric string ** stdClass Unsupported operand types: resource ** null Unsupported operand types: null ** resource Unsupported operand types: resource ** bool @@ -564,42 +564,42 @@ Unsupported operand types: resource ** int Unsupported operand types: int ** resource Unsupported operand types: resource ** float Unsupported operand types: float ** resource -Unsupported operand types: resource ** string -Unsupported operand types: string ** resource -Unsupported operand types: resource ** string -Warning: A non-numeric value encountered -Unsupported operand types: string ** resource -Unsupported operand types: string ** null -Unsupported operand types: null ** string -Unsupported operand types: string ** bool -Unsupported operand types: bool ** string -Unsupported operand types: string ** bool -Unsupported operand types: bool ** string -Unsupported operand types: string ** int -Unsupported operand types: int ** string -Unsupported operand types: string ** float -Unsupported operand types: float ** string -Unsupported operand types: string ** string -Unsupported operand types: string ** string -Unsupported operand types: string ** string -Warning: A non-numeric value encountered -Unsupported operand types: string ** string +Unsupported operand types: resource ** non-numeric string +Unsupported operand types: non-numeric string ** resource +Unsupported operand types: resource ** non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string ** resource +Unsupported operand types: non-numeric string ** null +Unsupported operand types: null ** non-numeric string +Unsupported operand types: non-numeric string ** bool +Unsupported operand types: bool ** non-numeric string +Unsupported operand types: non-numeric string ** bool +Unsupported operand types: bool ** non-numeric string +Unsupported operand types: non-numeric string ** int +Unsupported operand types: int ** non-numeric string +Unsupported operand types: non-numeric string ** float +Unsupported operand types: float ** non-numeric string +Unsupported operand types: non-numeric string ** non-numeric string +Unsupported operand types: non-numeric string ** non-numeric string +Unsupported operand types: non-numeric string ** non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string ** non-numeric string Unsupported operand types: array << array Unsupported operand types: array << stdClass Unsupported operand types: array << resource -Unsupported operand types: array << string +Unsupported operand types: array << non-numeric string Unsupported operand types: stdClass << array Unsupported operand types: stdClass << stdClass Unsupported operand types: stdClass << resource -Unsupported operand types: stdClass << string +Unsupported operand types: stdClass << non-numeric string Unsupported operand types: resource << array Unsupported operand types: resource << stdClass Unsupported operand types: resource << resource -Unsupported operand types: resource << string -Unsupported operand types: string << array -Unsupported operand types: string << stdClass -Unsupported operand types: string << resource -Unsupported operand types: string << string +Unsupported operand types: resource << non-numeric string +Unsupported operand types: non-numeric string << array +Unsupported operand types: non-numeric string << stdClass +Unsupported operand types: non-numeric string << resource +Unsupported operand types: non-numeric string << non-numeric string Unsupported operand types: array << null Unsupported operand types: null << array Unsupported operand types: array << bool @@ -611,11 +611,11 @@ Unsupported operand types: int << array Unsupported operand types: array << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << array -Unsupported operand types: array << string -Unsupported operand types: string << array -Unsupported operand types: array << string +Unsupported operand types: array << non-numeric string +Unsupported operand types: non-numeric string << array +Unsupported operand types: array << non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string << array +Unsupported operand types: non-numeric string << array Unsupported operand types: stdClass << null Unsupported operand types: null << stdClass Unsupported operand types: stdClass << bool @@ -627,11 +627,11 @@ Unsupported operand types: int << stdClass Unsupported operand types: stdClass << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << stdClass -Unsupported operand types: stdClass << string -Unsupported operand types: string << stdClass -Unsupported operand types: stdClass << string +Unsupported operand types: stdClass << non-numeric string +Unsupported operand types: non-numeric string << stdClass +Unsupported operand types: stdClass << non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string << stdClass +Unsupported operand types: non-numeric string << stdClass Unsupported operand types: resource << null Unsupported operand types: null << resource Unsupported operand types: resource << bool @@ -643,43 +643,43 @@ Unsupported operand types: int << resource Unsupported operand types: resource << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << resource -Unsupported operand types: resource << string -Unsupported operand types: string << resource -Unsupported operand types: resource << string -Warning: A non-numeric value encountered -Unsupported operand types: string << resource -Unsupported operand types: string << null -Unsupported operand types: null << string -Unsupported operand types: string << bool -Unsupported operand types: bool << string -Unsupported operand types: string << bool -Unsupported operand types: bool << string -Unsupported operand types: string << int -Unsupported operand types: int << string -Unsupported operand types: string << float +Unsupported operand types: resource << non-numeric string +Unsupported operand types: non-numeric string << resource +Unsupported operand types: resource << non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string << resource +Unsupported operand types: non-numeric string << null +Unsupported operand types: null << non-numeric string +Unsupported operand types: non-numeric string << bool +Unsupported operand types: bool << non-numeric string +Unsupported operand types: non-numeric string << bool +Unsupported operand types: bool << non-numeric string +Unsupported operand types: non-numeric string << int +Unsupported operand types: int << non-numeric string +Unsupported operand types: non-numeric string << float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float << string -Unsupported operand types: string << string -Unsupported operand types: string << string -Unsupported operand types: string << string +Unsupported operand types: float << non-numeric string +Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: non-numeric string << non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string << string +Unsupported operand types: non-numeric string << non-numeric string Unsupported operand types: array >> array Unsupported operand types: array >> stdClass Unsupported operand types: array >> resource -Unsupported operand types: array >> string +Unsupported operand types: array >> non-numeric string Unsupported operand types: stdClass >> array Unsupported operand types: stdClass >> stdClass Unsupported operand types: stdClass >> resource -Unsupported operand types: stdClass >> string +Unsupported operand types: stdClass >> non-numeric string Unsupported operand types: resource >> array Unsupported operand types: resource >> stdClass Unsupported operand types: resource >> resource -Unsupported operand types: resource >> string -Unsupported operand types: string >> array -Unsupported operand types: string >> stdClass -Unsupported operand types: string >> resource -Unsupported operand types: string >> string +Unsupported operand types: resource >> non-numeric string +Unsupported operand types: non-numeric string >> array +Unsupported operand types: non-numeric string >> stdClass +Unsupported operand types: non-numeric string >> resource +Unsupported operand types: non-numeric string >> non-numeric string Unsupported operand types: array >> null Unsupported operand types: null >> array Unsupported operand types: array >> bool @@ -691,11 +691,11 @@ Unsupported operand types: int >> array Unsupported operand types: array >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> array -Unsupported operand types: array >> string -Unsupported operand types: string >> array -Unsupported operand types: array >> string +Unsupported operand types: array >> non-numeric string +Unsupported operand types: non-numeric string >> array +Unsupported operand types: array >> non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string >> array +Unsupported operand types: non-numeric string >> array Unsupported operand types: stdClass >> null Unsupported operand types: null >> stdClass Unsupported operand types: stdClass >> bool @@ -707,11 +707,11 @@ Unsupported operand types: int >> stdClass Unsupported operand types: stdClass >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> stdClass -Unsupported operand types: stdClass >> string -Unsupported operand types: string >> stdClass -Unsupported operand types: stdClass >> string +Unsupported operand types: stdClass >> non-numeric string +Unsupported operand types: non-numeric string >> stdClass +Unsupported operand types: stdClass >> non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string >> stdClass +Unsupported operand types: non-numeric string >> stdClass Unsupported operand types: resource >> null Unsupported operand types: null >> resource Unsupported operand types: resource >> bool @@ -723,42 +723,42 @@ Unsupported operand types: int >> resource Unsupported operand types: resource >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> resource -Unsupported operand types: resource >> string -Unsupported operand types: string >> resource -Unsupported operand types: resource >> string -Warning: A non-numeric value encountered -Unsupported operand types: string >> resource -Unsupported operand types: string >> null -Unsupported operand types: null >> string -Unsupported operand types: string >> bool -Unsupported operand types: bool >> string -Unsupported operand types: string >> bool -Unsupported operand types: bool >> string -Unsupported operand types: string >> int -Unsupported operand types: int >> string -Unsupported operand types: string >> float +Unsupported operand types: resource >> non-numeric string +Unsupported operand types: non-numeric string >> resource +Unsupported operand types: resource >> non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string >> resource +Unsupported operand types: non-numeric string >> null +Unsupported operand types: null >> non-numeric string +Unsupported operand types: non-numeric string >> bool +Unsupported operand types: bool >> non-numeric string +Unsupported operand types: non-numeric string >> bool +Unsupported operand types: bool >> non-numeric string +Unsupported operand types: non-numeric string >> int +Unsupported operand types: int >> non-numeric string +Unsupported operand types: non-numeric string >> float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float >> string -Unsupported operand types: string >> string -Unsupported operand types: string >> string -Unsupported operand types: string >> string +Unsupported operand types: float >> non-numeric string +Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: non-numeric string >> non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string >> string +Unsupported operand types: non-numeric string >> non-numeric string Unsupported operand types: array & array Unsupported operand types: stdClass & array Unsupported operand types: resource & array -Unsupported operand types: array & string +Unsupported operand types: array & non-numeric string Unsupported operand types: stdClass & array Unsupported operand types: stdClass & stdClass Unsupported operand types: stdClass & resource -Unsupported operand types: stdClass & string +Unsupported operand types: stdClass & non-numeric string Unsupported operand types: resource & array Unsupported operand types: stdClass & resource Unsupported operand types: resource & resource -Unsupported operand types: resource & string -Unsupported operand types: string & array -Unsupported operand types: stdClass & string -Unsupported operand types: resource & string +Unsupported operand types: resource & non-numeric string +Unsupported operand types: non-numeric string & array +Unsupported operand types: stdClass & non-numeric string +Unsupported operand types: resource & non-numeric string No error for "foo" & "foo" Unsupported operand types: array & null Unsupported operand types: null & array @@ -771,11 +771,11 @@ Unsupported operand types: int & array Unsupported operand types: array & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & array -Unsupported operand types: array & string -Unsupported operand types: string & array -Unsupported operand types: array & string +Unsupported operand types: array & non-numeric string +Unsupported operand types: non-numeric string & array +Unsupported operand types: array & non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string & array +Unsupported operand types: non-numeric string & array Unsupported operand types: stdClass & null Unsupported operand types: stdClass & null Unsupported operand types: stdClass & bool @@ -786,10 +786,10 @@ Unsupported operand types: stdClass & int Unsupported operand types: stdClass & int Unsupported operand types: stdClass & float Unsupported operand types: stdClass & float -Unsupported operand types: stdClass & string -Unsupported operand types: stdClass & string -Unsupported operand types: stdClass & string -Unsupported operand types: stdClass & string +Unsupported operand types: stdClass & non-numeric string +Unsupported operand types: stdClass & non-numeric string +Unsupported operand types: stdClass & non-numeric string +Unsupported operand types: stdClass & non-numeric string Unsupported operand types: resource & null Unsupported operand types: resource & null Unsupported operand types: resource & bool @@ -800,21 +800,21 @@ Unsupported operand types: resource & int Unsupported operand types: resource & int Unsupported operand types: resource & float Unsupported operand types: resource & float -Unsupported operand types: resource & string -Unsupported operand types: resource & string -Unsupported operand types: resource & string -Unsupported operand types: resource & string -Unsupported operand types: string & null -Unsupported operand types: null & string -Unsupported operand types: string & bool -Unsupported operand types: bool & string -Unsupported operand types: string & bool -Unsupported operand types: bool & string -Unsupported operand types: string & int -Unsupported operand types: int & string -Unsupported operand types: string & float +Unsupported operand types: resource & non-numeric string +Unsupported operand types: resource & non-numeric string +Unsupported operand types: resource & non-numeric string +Unsupported operand types: resource & non-numeric string +Unsupported operand types: non-numeric string & null +Unsupported operand types: null & non-numeric string +Unsupported operand types: non-numeric string & bool +Unsupported operand types: bool & non-numeric string +Unsupported operand types: non-numeric string & bool +Unsupported operand types: bool & non-numeric string +Unsupported operand types: non-numeric string & int +Unsupported operand types: int & non-numeric string +Unsupported operand types: non-numeric string & float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float & string +Unsupported operand types: float & non-numeric string No error for "foo" & "123" No error for "123" & "foo" No error for "foo" & "123foo" @@ -822,18 +822,18 @@ No error for "123foo" & "foo" Unsupported operand types: array | array Unsupported operand types: stdClass | array Unsupported operand types: resource | array -Unsupported operand types: array | string +Unsupported operand types: array | non-numeric string Unsupported operand types: stdClass | array Unsupported operand types: stdClass | stdClass Unsupported operand types: stdClass | resource -Unsupported operand types: stdClass | string +Unsupported operand types: stdClass | non-numeric string Unsupported operand types: resource | array Unsupported operand types: stdClass | resource Unsupported operand types: resource | resource -Unsupported operand types: resource | string -Unsupported operand types: string | array -Unsupported operand types: stdClass | string -Unsupported operand types: resource | string +Unsupported operand types: resource | non-numeric string +Unsupported operand types: non-numeric string | array +Unsupported operand types: stdClass | non-numeric string +Unsupported operand types: resource | non-numeric string No error for "foo" | "foo" Unsupported operand types: array | null Unsupported operand types: null | array @@ -846,11 +846,11 @@ Unsupported operand types: int | array Unsupported operand types: array | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | array -Unsupported operand types: array | string -Unsupported operand types: string | array -Unsupported operand types: array | string +Unsupported operand types: array | non-numeric string +Unsupported operand types: non-numeric string | array +Unsupported operand types: array | non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string | array +Unsupported operand types: non-numeric string | array Unsupported operand types: stdClass | null Unsupported operand types: stdClass | null Unsupported operand types: stdClass | bool @@ -861,10 +861,10 @@ Unsupported operand types: stdClass | int Unsupported operand types: stdClass | int Unsupported operand types: stdClass | float Unsupported operand types: stdClass | float -Unsupported operand types: stdClass | string -Unsupported operand types: stdClass | string -Unsupported operand types: stdClass | string -Unsupported operand types: stdClass | string +Unsupported operand types: stdClass | non-numeric string +Unsupported operand types: stdClass | non-numeric string +Unsupported operand types: stdClass | non-numeric string +Unsupported operand types: stdClass | non-numeric string Unsupported operand types: resource | null Unsupported operand types: resource | null Unsupported operand types: resource | bool @@ -875,21 +875,21 @@ Unsupported operand types: resource | int Unsupported operand types: resource | int Unsupported operand types: resource | float Unsupported operand types: resource | float -Unsupported operand types: resource | string -Unsupported operand types: resource | string -Unsupported operand types: resource | string -Unsupported operand types: resource | string -Unsupported operand types: string | null -Unsupported operand types: null | string -Unsupported operand types: string | bool -Unsupported operand types: bool | string -Unsupported operand types: string | bool -Unsupported operand types: bool | string -Unsupported operand types: string | int -Unsupported operand types: int | string -Unsupported operand types: string | float +Unsupported operand types: resource | non-numeric string +Unsupported operand types: resource | non-numeric string +Unsupported operand types: resource | non-numeric string +Unsupported operand types: resource | non-numeric string +Unsupported operand types: non-numeric string | null +Unsupported operand types: null | non-numeric string +Unsupported operand types: non-numeric string | bool +Unsupported operand types: bool | non-numeric string +Unsupported operand types: non-numeric string | bool +Unsupported operand types: bool | non-numeric string +Unsupported operand types: non-numeric string | int +Unsupported operand types: int | non-numeric string +Unsupported operand types: non-numeric string | float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float | string +Unsupported operand types: float | non-numeric string No error for "foo" | "123" No error for "123" | "foo" No error for "foo" | "123foo" @@ -897,18 +897,18 @@ No error for "123foo" | "foo" Unsupported operand types: array ^ array Unsupported operand types: stdClass ^ array Unsupported operand types: resource ^ array -Unsupported operand types: array ^ string +Unsupported operand types: array ^ non-numeric string Unsupported operand types: stdClass ^ array Unsupported operand types: stdClass ^ stdClass Unsupported operand types: stdClass ^ resource -Unsupported operand types: stdClass ^ string +Unsupported operand types: stdClass ^ non-numeric string Unsupported operand types: resource ^ array Unsupported operand types: stdClass ^ resource Unsupported operand types: resource ^ resource -Unsupported operand types: resource ^ string -Unsupported operand types: string ^ array -Unsupported operand types: stdClass ^ string -Unsupported operand types: resource ^ string +Unsupported operand types: resource ^ non-numeric string +Unsupported operand types: non-numeric string ^ array +Unsupported operand types: stdClass ^ non-numeric string +Unsupported operand types: resource ^ non-numeric string No error for "foo" ^ "foo" Unsupported operand types: array ^ null Unsupported operand types: null ^ array @@ -921,11 +921,11 @@ Unsupported operand types: int ^ array Unsupported operand types: array ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ array -Unsupported operand types: array ^ string -Unsupported operand types: string ^ array -Unsupported operand types: array ^ string +Unsupported operand types: array ^ non-numeric string +Unsupported operand types: non-numeric string ^ array +Unsupported operand types: array ^ non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string ^ array +Unsupported operand types: non-numeric string ^ array Unsupported operand types: stdClass ^ null Unsupported operand types: stdClass ^ null Unsupported operand types: stdClass ^ bool @@ -936,10 +936,10 @@ Unsupported operand types: stdClass ^ int Unsupported operand types: stdClass ^ int Unsupported operand types: stdClass ^ float Unsupported operand types: stdClass ^ float -Unsupported operand types: stdClass ^ string -Unsupported operand types: stdClass ^ string -Unsupported operand types: stdClass ^ string -Unsupported operand types: stdClass ^ string +Unsupported operand types: stdClass ^ non-numeric string +Unsupported operand types: stdClass ^ non-numeric string +Unsupported operand types: stdClass ^ non-numeric string +Unsupported operand types: stdClass ^ non-numeric string Unsupported operand types: resource ^ null Unsupported operand types: resource ^ null Unsupported operand types: resource ^ bool @@ -950,21 +950,21 @@ Unsupported operand types: resource ^ int Unsupported operand types: resource ^ int Unsupported operand types: resource ^ float Unsupported operand types: resource ^ float -Unsupported operand types: resource ^ string -Unsupported operand types: resource ^ string -Unsupported operand types: resource ^ string -Unsupported operand types: resource ^ string -Unsupported operand types: string ^ null -Unsupported operand types: null ^ string -Unsupported operand types: string ^ bool -Unsupported operand types: bool ^ string -Unsupported operand types: string ^ bool -Unsupported operand types: bool ^ string -Unsupported operand types: string ^ int -Unsupported operand types: int ^ string -Unsupported operand types: string ^ float +Unsupported operand types: resource ^ non-numeric string +Unsupported operand types: resource ^ non-numeric string +Unsupported operand types: resource ^ non-numeric string +Unsupported operand types: resource ^ non-numeric string +Unsupported operand types: non-numeric string ^ null +Unsupported operand types: null ^ non-numeric string +Unsupported operand types: non-numeric string ^ bool +Unsupported operand types: bool ^ non-numeric string +Unsupported operand types: non-numeric string ^ bool +Unsupported operand types: bool ^ non-numeric string +Unsupported operand types: non-numeric string ^ int +Unsupported operand types: int ^ non-numeric string +Unsupported operand types: non-numeric string ^ float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float ^ string +Unsupported operand types: float ^ non-numeric string No error for "foo" ^ "123" No error for "123" ^ "foo" No error for "foo" ^ "123foo" @@ -1141,19 +1141,19 @@ ASSIGN OP: No error for [] += [] Unsupported operand types: array + stdClass Unsupported operand types: array + resource -Unsupported operand types: array + string +Unsupported operand types: array + non-numeric string Unsupported operand types: stdClass + array Unsupported operand types: stdClass + stdClass Unsupported operand types: stdClass + resource -Unsupported operand types: stdClass + string +Unsupported operand types: stdClass + non-numeric string Unsupported operand types: resource + array Unsupported operand types: resource + stdClass Unsupported operand types: resource + resource -Unsupported operand types: resource + string -Unsupported operand types: string + array -Unsupported operand types: string + stdClass -Unsupported operand types: string + resource -Unsupported operand types: string + string +Unsupported operand types: resource + non-numeric string +Unsupported operand types: non-numeric string + array +Unsupported operand types: non-numeric string + stdClass +Unsupported operand types: non-numeric string + resource +Unsupported operand types: non-numeric string + non-numeric string Unsupported operand types: array + null Unsupported operand types: null + array Unsupported operand types: array + bool @@ -1164,11 +1164,11 @@ Unsupported operand types: array + int Unsupported operand types: int + array Unsupported operand types: array + float Unsupported operand types: float + array -Unsupported operand types: array + string -Unsupported operand types: string + array -Unsupported operand types: array + string +Unsupported operand types: array + non-numeric string +Unsupported operand types: non-numeric string + array +Unsupported operand types: array + non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string + array +Unsupported operand types: non-numeric string + array Unsupported operand types: stdClass + null Unsupported operand types: null + stdClass Unsupported operand types: stdClass + bool @@ -1179,11 +1179,11 @@ Unsupported operand types: stdClass + int Unsupported operand types: int + stdClass Unsupported operand types: stdClass + float Unsupported operand types: float + stdClass -Unsupported operand types: stdClass + string -Unsupported operand types: string + stdClass -Unsupported operand types: stdClass + string +Unsupported operand types: stdClass + non-numeric string +Unsupported operand types: non-numeric string + stdClass +Unsupported operand types: stdClass + non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string + stdClass +Unsupported operand types: non-numeric string + stdClass Unsupported operand types: resource + null Unsupported operand types: null + resource Unsupported operand types: resource + bool @@ -1194,42 +1194,42 @@ Unsupported operand types: resource + int Unsupported operand types: int + resource Unsupported operand types: resource + float Unsupported operand types: float + resource -Unsupported operand types: resource + string -Unsupported operand types: string + resource -Unsupported operand types: resource + string -Warning: A non-numeric value encountered -Unsupported operand types: string + resource -Unsupported operand types: string + null -Unsupported operand types: null + string -Unsupported operand types: string + bool -Unsupported operand types: bool + string -Unsupported operand types: string + bool -Unsupported operand types: bool + string -Unsupported operand types: string + int -Unsupported operand types: int + string -Unsupported operand types: string + float -Unsupported operand types: float + string -Unsupported operand types: string + string -Unsupported operand types: string + string -Unsupported operand types: string + string -Warning: A non-numeric value encountered -Unsupported operand types: string + string +Unsupported operand types: resource + non-numeric string +Unsupported operand types: non-numeric string + resource +Unsupported operand types: resource + non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string + resource +Unsupported operand types: non-numeric string + null +Unsupported operand types: null + non-numeric string +Unsupported operand types: non-numeric string + bool +Unsupported operand types: bool + non-numeric string +Unsupported operand types: non-numeric string + bool +Unsupported operand types: bool + non-numeric string +Unsupported operand types: non-numeric string + int +Unsupported operand types: int + non-numeric string +Unsupported operand types: non-numeric string + float +Unsupported operand types: float + non-numeric string +Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric string + non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string + non-numeric string Unsupported operand types: array - array Unsupported operand types: array - stdClass Unsupported operand types: array - resource -Unsupported operand types: array - string +Unsupported operand types: array - non-numeric string Unsupported operand types: stdClass - array Unsupported operand types: stdClass - stdClass Unsupported operand types: stdClass - resource -Unsupported operand types: stdClass - string +Unsupported operand types: stdClass - non-numeric string Unsupported operand types: resource - array Unsupported operand types: resource - stdClass Unsupported operand types: resource - resource -Unsupported operand types: resource - string -Unsupported operand types: string - array -Unsupported operand types: string - stdClass -Unsupported operand types: string - resource -Unsupported operand types: string - string +Unsupported operand types: resource - non-numeric string +Unsupported operand types: non-numeric string - array +Unsupported operand types: non-numeric string - stdClass +Unsupported operand types: non-numeric string - resource +Unsupported operand types: non-numeric string - non-numeric string Unsupported operand types: array - null Unsupported operand types: null - array Unsupported operand types: array - bool @@ -1240,11 +1240,11 @@ Unsupported operand types: array - int Unsupported operand types: int - array Unsupported operand types: array - float Unsupported operand types: float - array -Unsupported operand types: array - string -Unsupported operand types: string - array -Unsupported operand types: array - string +Unsupported operand types: array - non-numeric string +Unsupported operand types: non-numeric string - array +Unsupported operand types: array - non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string - array +Unsupported operand types: non-numeric string - array Unsupported operand types: stdClass - null Unsupported operand types: null - stdClass Unsupported operand types: stdClass - bool @@ -1255,11 +1255,11 @@ Unsupported operand types: stdClass - int Unsupported operand types: int - stdClass Unsupported operand types: stdClass - float Unsupported operand types: float - stdClass -Unsupported operand types: stdClass - string -Unsupported operand types: string - stdClass -Unsupported operand types: stdClass - string +Unsupported operand types: stdClass - non-numeric string +Unsupported operand types: non-numeric string - stdClass +Unsupported operand types: stdClass - non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string - stdClass +Unsupported operand types: non-numeric string - stdClass Unsupported operand types: resource - null Unsupported operand types: null - resource Unsupported operand types: resource - bool @@ -1270,42 +1270,42 @@ Unsupported operand types: resource - int Unsupported operand types: int - resource Unsupported operand types: resource - float Unsupported operand types: float - resource -Unsupported operand types: resource - string -Unsupported operand types: string - resource -Unsupported operand types: resource - string -Warning: A non-numeric value encountered -Unsupported operand types: string - resource -Unsupported operand types: string - null -Unsupported operand types: null - string -Unsupported operand types: string - bool -Unsupported operand types: bool - string -Unsupported operand types: string - bool -Unsupported operand types: bool - string -Unsupported operand types: string - int -Unsupported operand types: int - string -Unsupported operand types: string - float -Unsupported operand types: float - string -Unsupported operand types: string - string -Unsupported operand types: string - string -Unsupported operand types: string - string -Warning: A non-numeric value encountered -Unsupported operand types: string - string +Unsupported operand types: resource - non-numeric string +Unsupported operand types: non-numeric string - resource +Unsupported operand types: resource - non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string - resource +Unsupported operand types: non-numeric string - null +Unsupported operand types: null - non-numeric string +Unsupported operand types: non-numeric string - bool +Unsupported operand types: bool - non-numeric string +Unsupported operand types: non-numeric string - bool +Unsupported operand types: bool - non-numeric string +Unsupported operand types: non-numeric string - int +Unsupported operand types: int - non-numeric string +Unsupported operand types: non-numeric string - float +Unsupported operand types: float - non-numeric string +Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric string - non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string - non-numeric string Unsupported operand types: array * array Unsupported operand types: array * stdClass Unsupported operand types: array * resource -Unsupported operand types: array * string +Unsupported operand types: array * non-numeric string Unsupported operand types: stdClass * array Unsupported operand types: stdClass * stdClass Unsupported operand types: stdClass * resource -Unsupported operand types: stdClass * string +Unsupported operand types: stdClass * non-numeric string Unsupported operand types: resource * array Unsupported operand types: resource * stdClass Unsupported operand types: resource * resource -Unsupported operand types: resource * string -Unsupported operand types: string * array -Unsupported operand types: string * stdClass -Unsupported operand types: string * resource -Unsupported operand types: string * string +Unsupported operand types: resource * non-numeric string +Unsupported operand types: non-numeric string * array +Unsupported operand types: non-numeric string * stdClass +Unsupported operand types: non-numeric string * resource +Unsupported operand types: non-numeric string * non-numeric string Unsupported operand types: array * null Unsupported operand types: null * array Unsupported operand types: array * bool @@ -1316,11 +1316,11 @@ Unsupported operand types: array * int Unsupported operand types: int * array Unsupported operand types: array * float Unsupported operand types: float * array -Unsupported operand types: array * string -Unsupported operand types: string * array -Unsupported operand types: array * string +Unsupported operand types: array * non-numeric string +Unsupported operand types: non-numeric string * array +Unsupported operand types: array * non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string * array +Unsupported operand types: non-numeric string * array Unsupported operand types: stdClass * null Unsupported operand types: null * stdClass Unsupported operand types: stdClass * bool @@ -1331,11 +1331,11 @@ Unsupported operand types: stdClass * int Unsupported operand types: int * stdClass Unsupported operand types: stdClass * float Unsupported operand types: float * stdClass -Unsupported operand types: stdClass * string -Unsupported operand types: string * stdClass -Unsupported operand types: stdClass * string +Unsupported operand types: stdClass * non-numeric string +Unsupported operand types: non-numeric string * stdClass +Unsupported operand types: stdClass * non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string * stdClass +Unsupported operand types: non-numeric string * stdClass Unsupported operand types: resource * null Unsupported operand types: null * resource Unsupported operand types: resource * bool @@ -1346,42 +1346,42 @@ Unsupported operand types: resource * int Unsupported operand types: int * resource Unsupported operand types: resource * float Unsupported operand types: float * resource -Unsupported operand types: resource * string -Unsupported operand types: string * resource -Unsupported operand types: resource * string -Warning: A non-numeric value encountered -Unsupported operand types: string * resource -Unsupported operand types: string * null -Unsupported operand types: null * string -Unsupported operand types: string * bool -Unsupported operand types: bool * string -Unsupported operand types: string * bool -Unsupported operand types: bool * string -Unsupported operand types: string * int -Unsupported operand types: int * string -Unsupported operand types: string * float -Unsupported operand types: float * string -Unsupported operand types: string * string -Unsupported operand types: string * string -Unsupported operand types: string * string -Warning: A non-numeric value encountered -Unsupported operand types: string * string +Unsupported operand types: resource * non-numeric string +Unsupported operand types: non-numeric string * resource +Unsupported operand types: resource * non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string * resource +Unsupported operand types: non-numeric string * null +Unsupported operand types: null * non-numeric string +Unsupported operand types: non-numeric string * bool +Unsupported operand types: bool * non-numeric string +Unsupported operand types: non-numeric string * bool +Unsupported operand types: bool * non-numeric string +Unsupported operand types: non-numeric string * int +Unsupported operand types: int * non-numeric string +Unsupported operand types: non-numeric string * float +Unsupported operand types: float * non-numeric string +Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric string * non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string * non-numeric string Unsupported operand types: array / array Unsupported operand types: array / stdClass Unsupported operand types: array / resource -Unsupported operand types: array / string +Unsupported operand types: array / non-numeric string Unsupported operand types: stdClass / array Unsupported operand types: stdClass / stdClass Unsupported operand types: stdClass / resource -Unsupported operand types: stdClass / string +Unsupported operand types: stdClass / non-numeric string Unsupported operand types: resource / array Unsupported operand types: resource / stdClass Unsupported operand types: resource / resource -Unsupported operand types: resource / string -Unsupported operand types: string / array -Unsupported operand types: string / stdClass -Unsupported operand types: string / resource -Unsupported operand types: string / string +Unsupported operand types: resource / non-numeric string +Unsupported operand types: non-numeric string / array +Unsupported operand types: non-numeric string / stdClass +Unsupported operand types: non-numeric string / resource +Unsupported operand types: non-numeric string / non-numeric string Unsupported operand types: array / null Unsupported operand types: null / array Unsupported operand types: array / bool @@ -1392,11 +1392,11 @@ Unsupported operand types: array / int Unsupported operand types: int / array Unsupported operand types: array / float Unsupported operand types: float / array -Unsupported operand types: array / string -Unsupported operand types: string / array -Unsupported operand types: array / string +Unsupported operand types: array / non-numeric string +Unsupported operand types: non-numeric string / array +Unsupported operand types: array / non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string / array +Unsupported operand types: non-numeric string / array Unsupported operand types: stdClass / null Unsupported operand types: null / stdClass Unsupported operand types: stdClass / bool @@ -1407,11 +1407,11 @@ Unsupported operand types: stdClass / int Unsupported operand types: int / stdClass Unsupported operand types: stdClass / float Unsupported operand types: float / stdClass -Unsupported operand types: stdClass / string -Unsupported operand types: string / stdClass -Unsupported operand types: stdClass / string +Unsupported operand types: stdClass / non-numeric string +Unsupported operand types: non-numeric string / stdClass +Unsupported operand types: stdClass / non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string / stdClass +Unsupported operand types: non-numeric string / stdClass Unsupported operand types: resource / null Unsupported operand types: null / resource Unsupported operand types: resource / bool @@ -1422,42 +1422,42 @@ Unsupported operand types: resource / int Unsupported operand types: int / resource Unsupported operand types: resource / float Unsupported operand types: float / resource -Unsupported operand types: resource / string -Unsupported operand types: string / resource -Unsupported operand types: resource / string -Warning: A non-numeric value encountered -Unsupported operand types: string / resource -Unsupported operand types: string / null -Unsupported operand types: null / string -Unsupported operand types: string / bool -Unsupported operand types: bool / string -Unsupported operand types: string / bool -Unsupported operand types: bool / string -Unsupported operand types: string / int -Unsupported operand types: int / string -Unsupported operand types: string / float -Unsupported operand types: float / string -Unsupported operand types: string / string -Unsupported operand types: string / string -Unsupported operand types: string / string -Warning: A non-numeric value encountered -Unsupported operand types: string / string +Unsupported operand types: resource / non-numeric string +Unsupported operand types: non-numeric string / resource +Unsupported operand types: resource / non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string / resource +Unsupported operand types: non-numeric string / null +Unsupported operand types: null / non-numeric string +Unsupported operand types: non-numeric string / bool +Unsupported operand types: bool / non-numeric string +Unsupported operand types: non-numeric string / bool +Unsupported operand types: bool / non-numeric string +Unsupported operand types: non-numeric string / int +Unsupported operand types: int / non-numeric string +Unsupported operand types: non-numeric string / float +Unsupported operand types: float / non-numeric string +Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric string / non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string / non-numeric string Unsupported operand types: array % array Unsupported operand types: array % stdClass Unsupported operand types: array % resource -Unsupported operand types: array % string +Unsupported operand types: array % non-numeric string Unsupported operand types: stdClass % array Unsupported operand types: stdClass % stdClass Unsupported operand types: stdClass % resource -Unsupported operand types: stdClass % string +Unsupported operand types: stdClass % non-numeric string Unsupported operand types: resource % array Unsupported operand types: resource % stdClass Unsupported operand types: resource % resource -Unsupported operand types: resource % string -Unsupported operand types: string % array -Unsupported operand types: string % stdClass -Unsupported operand types: string % resource -Unsupported operand types: string % string +Unsupported operand types: resource % non-numeric string +Unsupported operand types: non-numeric string % array +Unsupported operand types: non-numeric string % stdClass +Unsupported operand types: non-numeric string % resource +Unsupported operand types: non-numeric string % non-numeric string Unsupported operand types: array % null Unsupported operand types: null % array Unsupported operand types: array % bool @@ -1469,11 +1469,11 @@ Unsupported operand types: int % array Unsupported operand types: array % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % array -Unsupported operand types: array % string -Unsupported operand types: string % array -Unsupported operand types: array % string +Unsupported operand types: array % non-numeric string +Unsupported operand types: non-numeric string % array +Unsupported operand types: array % non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string % array +Unsupported operand types: non-numeric string % array Unsupported operand types: stdClass % null Unsupported operand types: null % stdClass Unsupported operand types: stdClass % bool @@ -1485,11 +1485,11 @@ Unsupported operand types: int % stdClass Unsupported operand types: stdClass % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % stdClass -Unsupported operand types: stdClass % string -Unsupported operand types: string % stdClass -Unsupported operand types: stdClass % string +Unsupported operand types: stdClass % non-numeric string +Unsupported operand types: non-numeric string % stdClass +Unsupported operand types: stdClass % non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string % stdClass +Unsupported operand types: non-numeric string % stdClass Unsupported operand types: resource % null Unsupported operand types: null % resource Unsupported operand types: resource % bool @@ -1501,43 +1501,43 @@ Unsupported operand types: int % resource Unsupported operand types: resource % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % resource -Unsupported operand types: resource % string -Unsupported operand types: string % resource -Unsupported operand types: resource % string -Warning: A non-numeric value encountered -Unsupported operand types: string % resource -Unsupported operand types: string % null -Unsupported operand types: null % string -Unsupported operand types: string % bool -Unsupported operand types: bool % string -Unsupported operand types: string % bool -Unsupported operand types: bool % string -Unsupported operand types: string % int -Unsupported operand types: int % string -Unsupported operand types: string % float +Unsupported operand types: resource % non-numeric string +Unsupported operand types: non-numeric string % resource +Unsupported operand types: resource % non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string % resource +Unsupported operand types: non-numeric string % null +Unsupported operand types: null % non-numeric string +Unsupported operand types: non-numeric string % bool +Unsupported operand types: bool % non-numeric string +Unsupported operand types: non-numeric string % bool +Unsupported operand types: bool % non-numeric string +Unsupported operand types: non-numeric string % int +Unsupported operand types: int % non-numeric string +Unsupported operand types: non-numeric string % float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float % string -Unsupported operand types: string % string -Unsupported operand types: string % string -Unsupported operand types: string % string +Unsupported operand types: float % non-numeric string +Unsupported operand types: non-numeric string % non-numeric string +Unsupported operand types: non-numeric string % non-numeric string +Unsupported operand types: non-numeric string % non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string % string +Unsupported operand types: non-numeric string % non-numeric string Unsupported operand types: array ** array Unsupported operand types: array ** stdClass Unsupported operand types: array ** resource -Unsupported operand types: array ** string +Unsupported operand types: array ** non-numeric string Unsupported operand types: stdClass ** array Unsupported operand types: stdClass ** stdClass Unsupported operand types: stdClass ** resource -Unsupported operand types: stdClass ** string +Unsupported operand types: stdClass ** non-numeric string Unsupported operand types: resource ** array Unsupported operand types: resource ** stdClass Unsupported operand types: resource ** resource -Unsupported operand types: resource ** string -Unsupported operand types: string ** array -Unsupported operand types: string ** stdClass -Unsupported operand types: string ** resource -Unsupported operand types: string ** string +Unsupported operand types: resource ** non-numeric string +Unsupported operand types: non-numeric string ** array +Unsupported operand types: non-numeric string ** stdClass +Unsupported operand types: non-numeric string ** resource +Unsupported operand types: non-numeric string ** non-numeric string Unsupported operand types: array ** null Unsupported operand types: null ** array Unsupported operand types: array ** bool @@ -1548,11 +1548,11 @@ Unsupported operand types: array ** int Unsupported operand types: int ** array Unsupported operand types: array ** float Unsupported operand types: float ** array -Unsupported operand types: array ** string -Unsupported operand types: string ** array -Unsupported operand types: array ** string +Unsupported operand types: array ** non-numeric string +Unsupported operand types: non-numeric string ** array +Unsupported operand types: array ** non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string ** array +Unsupported operand types: non-numeric string ** array Unsupported operand types: stdClass ** null Unsupported operand types: null ** stdClass Unsupported operand types: stdClass ** bool @@ -1563,11 +1563,11 @@ Unsupported operand types: stdClass ** int Unsupported operand types: int ** stdClass Unsupported operand types: stdClass ** float Unsupported operand types: float ** stdClass -Unsupported operand types: stdClass ** string -Unsupported operand types: string ** stdClass -Unsupported operand types: stdClass ** string +Unsupported operand types: stdClass ** non-numeric string +Unsupported operand types: non-numeric string ** stdClass +Unsupported operand types: stdClass ** non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string ** stdClass +Unsupported operand types: non-numeric string ** stdClass Unsupported operand types: resource ** null Unsupported operand types: null ** resource Unsupported operand types: resource ** bool @@ -1578,42 +1578,42 @@ Unsupported operand types: resource ** int Unsupported operand types: int ** resource Unsupported operand types: resource ** float Unsupported operand types: float ** resource -Unsupported operand types: resource ** string -Unsupported operand types: string ** resource -Unsupported operand types: resource ** string -Warning: A non-numeric value encountered -Unsupported operand types: string ** resource -Unsupported operand types: string ** null -Unsupported operand types: null ** string -Unsupported operand types: string ** bool -Unsupported operand types: bool ** string -Unsupported operand types: string ** bool -Unsupported operand types: bool ** string -Unsupported operand types: string ** int -Unsupported operand types: int ** string -Unsupported operand types: string ** float -Unsupported operand types: float ** string -Unsupported operand types: string ** string -Unsupported operand types: string ** string -Unsupported operand types: string ** string -Warning: A non-numeric value encountered -Unsupported operand types: string ** string +Unsupported operand types: resource ** non-numeric string +Unsupported operand types: non-numeric string ** resource +Unsupported operand types: resource ** non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string ** resource +Unsupported operand types: non-numeric string ** null +Unsupported operand types: null ** non-numeric string +Unsupported operand types: non-numeric string ** bool +Unsupported operand types: bool ** non-numeric string +Unsupported operand types: non-numeric string ** bool +Unsupported operand types: bool ** non-numeric string +Unsupported operand types: non-numeric string ** int +Unsupported operand types: int ** non-numeric string +Unsupported operand types: non-numeric string ** float +Unsupported operand types: float ** non-numeric string +Unsupported operand types: non-numeric string ** non-numeric string +Unsupported operand types: non-numeric string ** non-numeric string +Unsupported operand types: non-numeric string ** non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string ** non-numeric string Unsupported operand types: array << array Unsupported operand types: array << stdClass Unsupported operand types: array << resource -Unsupported operand types: array << string +Unsupported operand types: array << non-numeric string Unsupported operand types: stdClass << array Unsupported operand types: stdClass << stdClass Unsupported operand types: stdClass << resource -Unsupported operand types: stdClass << string +Unsupported operand types: stdClass << non-numeric string Unsupported operand types: resource << array Unsupported operand types: resource << stdClass Unsupported operand types: resource << resource -Unsupported operand types: resource << string -Unsupported operand types: string << array -Unsupported operand types: string << stdClass -Unsupported operand types: string << resource -Unsupported operand types: string << string +Unsupported operand types: resource << non-numeric string +Unsupported operand types: non-numeric string << array +Unsupported operand types: non-numeric string << stdClass +Unsupported operand types: non-numeric string << resource +Unsupported operand types: non-numeric string << non-numeric string Unsupported operand types: array << null Unsupported operand types: null << array Unsupported operand types: array << bool @@ -1625,11 +1625,11 @@ Unsupported operand types: int << array Unsupported operand types: array << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << array -Unsupported operand types: array << string -Unsupported operand types: string << array -Unsupported operand types: array << string +Unsupported operand types: array << non-numeric string +Unsupported operand types: non-numeric string << array +Unsupported operand types: array << non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string << array +Unsupported operand types: non-numeric string << array Unsupported operand types: stdClass << null Unsupported operand types: null << stdClass Unsupported operand types: stdClass << bool @@ -1641,11 +1641,11 @@ Unsupported operand types: int << stdClass Unsupported operand types: stdClass << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << stdClass -Unsupported operand types: stdClass << string -Unsupported operand types: string << stdClass -Unsupported operand types: stdClass << string +Unsupported operand types: stdClass << non-numeric string +Unsupported operand types: non-numeric string << stdClass +Unsupported operand types: stdClass << non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string << stdClass +Unsupported operand types: non-numeric string << stdClass Unsupported operand types: resource << null Unsupported operand types: null << resource Unsupported operand types: resource << bool @@ -1657,43 +1657,43 @@ Unsupported operand types: int << resource Unsupported operand types: resource << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << resource -Unsupported operand types: resource << string -Unsupported operand types: string << resource -Unsupported operand types: resource << string -Warning: A non-numeric value encountered -Unsupported operand types: string << resource -Unsupported operand types: string << null -Unsupported operand types: null << string -Unsupported operand types: string << bool -Unsupported operand types: bool << string -Unsupported operand types: string << bool -Unsupported operand types: bool << string -Unsupported operand types: string << int -Unsupported operand types: int << string -Unsupported operand types: string << float +Unsupported operand types: resource << non-numeric string +Unsupported operand types: non-numeric string << resource +Unsupported operand types: resource << non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string << resource +Unsupported operand types: non-numeric string << null +Unsupported operand types: null << non-numeric string +Unsupported operand types: non-numeric string << bool +Unsupported operand types: bool << non-numeric string +Unsupported operand types: non-numeric string << bool +Unsupported operand types: bool << non-numeric string +Unsupported operand types: non-numeric string << int +Unsupported operand types: int << non-numeric string +Unsupported operand types: non-numeric string << float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float << string -Unsupported operand types: string << string -Unsupported operand types: string << string -Unsupported operand types: string << string +Unsupported operand types: float << non-numeric string +Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: non-numeric string << non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string << string +Unsupported operand types: non-numeric string << non-numeric string Unsupported operand types: array >> array Unsupported operand types: array >> stdClass Unsupported operand types: array >> resource -Unsupported operand types: array >> string +Unsupported operand types: array >> non-numeric string Unsupported operand types: stdClass >> array Unsupported operand types: stdClass >> stdClass Unsupported operand types: stdClass >> resource -Unsupported operand types: stdClass >> string +Unsupported operand types: stdClass >> non-numeric string Unsupported operand types: resource >> array Unsupported operand types: resource >> stdClass Unsupported operand types: resource >> resource -Unsupported operand types: resource >> string -Unsupported operand types: string >> array -Unsupported operand types: string >> stdClass -Unsupported operand types: string >> resource -Unsupported operand types: string >> string +Unsupported operand types: resource >> non-numeric string +Unsupported operand types: non-numeric string >> array +Unsupported operand types: non-numeric string >> stdClass +Unsupported operand types: non-numeric string >> resource +Unsupported operand types: non-numeric string >> non-numeric string Unsupported operand types: array >> null Unsupported operand types: null >> array Unsupported operand types: array >> bool @@ -1705,11 +1705,11 @@ Unsupported operand types: int >> array Unsupported operand types: array >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> array -Unsupported operand types: array >> string -Unsupported operand types: string >> array -Unsupported operand types: array >> string +Unsupported operand types: array >> non-numeric string +Unsupported operand types: non-numeric string >> array +Unsupported operand types: array >> non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string >> array +Unsupported operand types: non-numeric string >> array Unsupported operand types: stdClass >> null Unsupported operand types: null >> stdClass Unsupported operand types: stdClass >> bool @@ -1721,11 +1721,11 @@ Unsupported operand types: int >> stdClass Unsupported operand types: stdClass >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> stdClass -Unsupported operand types: stdClass >> string -Unsupported operand types: string >> stdClass -Unsupported operand types: stdClass >> string +Unsupported operand types: stdClass >> non-numeric string +Unsupported operand types: non-numeric string >> stdClass +Unsupported operand types: stdClass >> non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string >> stdClass +Unsupported operand types: non-numeric string >> stdClass Unsupported operand types: resource >> null Unsupported operand types: null >> resource Unsupported operand types: resource >> bool @@ -1737,42 +1737,42 @@ Unsupported operand types: int >> resource Unsupported operand types: resource >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> resource -Unsupported operand types: resource >> string -Unsupported operand types: string >> resource -Unsupported operand types: resource >> string -Warning: A non-numeric value encountered -Unsupported operand types: string >> resource -Unsupported operand types: string >> null -Unsupported operand types: null >> string -Unsupported operand types: string >> bool -Unsupported operand types: bool >> string -Unsupported operand types: string >> bool -Unsupported operand types: bool >> string -Unsupported operand types: string >> int -Unsupported operand types: int >> string -Unsupported operand types: string >> float +Unsupported operand types: resource >> non-numeric string +Unsupported operand types: non-numeric string >> resource +Unsupported operand types: resource >> non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string >> resource +Unsupported operand types: non-numeric string >> null +Unsupported operand types: null >> non-numeric string +Unsupported operand types: non-numeric string >> bool +Unsupported operand types: bool >> non-numeric string +Unsupported operand types: non-numeric string >> bool +Unsupported operand types: bool >> non-numeric string +Unsupported operand types: non-numeric string >> int +Unsupported operand types: int >> non-numeric string +Unsupported operand types: non-numeric string >> float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float >> string -Unsupported operand types: string >> string -Unsupported operand types: string >> string -Unsupported operand types: string >> string +Unsupported operand types: float >> non-numeric string +Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: non-numeric string >> non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string >> string +Unsupported operand types: non-numeric string >> non-numeric string Unsupported operand types: array & array Unsupported operand types: array & stdClass Unsupported operand types: array & resource -Unsupported operand types: array & string +Unsupported operand types: array & non-numeric string Unsupported operand types: stdClass & array Unsupported operand types: stdClass & stdClass Unsupported operand types: stdClass & resource -Unsupported operand types: stdClass & string +Unsupported operand types: stdClass & non-numeric string Unsupported operand types: resource & array Unsupported operand types: resource & stdClass Unsupported operand types: resource & resource -Unsupported operand types: resource & string -Unsupported operand types: string & array -Unsupported operand types: string & stdClass -Unsupported operand types: string & resource +Unsupported operand types: resource & non-numeric string +Unsupported operand types: non-numeric string & array +Unsupported operand types: non-numeric string & stdClass +Unsupported operand types: non-numeric string & resource No error for "foo" &= "foo" Unsupported operand types: array & null Unsupported operand types: null & array @@ -1785,11 +1785,11 @@ Unsupported operand types: int & array Unsupported operand types: array & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & array -Unsupported operand types: array & string -Unsupported operand types: string & array -Unsupported operand types: array & string +Unsupported operand types: array & non-numeric string +Unsupported operand types: non-numeric string & array +Unsupported operand types: array & non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string & array +Unsupported operand types: non-numeric string & array Unsupported operand types: stdClass & null Unsupported operand types: null & stdClass Unsupported operand types: stdClass & bool @@ -1801,11 +1801,11 @@ Unsupported operand types: int & stdClass Unsupported operand types: stdClass & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & stdClass -Unsupported operand types: stdClass & string -Unsupported operand types: string & stdClass -Unsupported operand types: stdClass & string +Unsupported operand types: stdClass & non-numeric string +Unsupported operand types: non-numeric string & stdClass +Unsupported operand types: stdClass & non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string & stdClass +Unsupported operand types: non-numeric string & stdClass Unsupported operand types: resource & null Unsupported operand types: null & resource Unsupported operand types: resource & bool @@ -1817,22 +1817,22 @@ Unsupported operand types: int & resource Unsupported operand types: resource & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & resource -Unsupported operand types: resource & string -Unsupported operand types: string & resource -Unsupported operand types: resource & string -Warning: A non-numeric value encountered -Unsupported operand types: string & resource -Unsupported operand types: string & null -Unsupported operand types: null & string -Unsupported operand types: string & bool -Unsupported operand types: bool & string -Unsupported operand types: string & bool -Unsupported operand types: bool & string -Unsupported operand types: string & int -Unsupported operand types: int & string -Unsupported operand types: string & float +Unsupported operand types: resource & non-numeric string +Unsupported operand types: non-numeric string & resource +Unsupported operand types: resource & non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string & resource +Unsupported operand types: non-numeric string & null +Unsupported operand types: null & non-numeric string +Unsupported operand types: non-numeric string & bool +Unsupported operand types: bool & non-numeric string +Unsupported operand types: non-numeric string & bool +Unsupported operand types: bool & non-numeric string +Unsupported operand types: non-numeric string & int +Unsupported operand types: int & non-numeric string +Unsupported operand types: non-numeric string & float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float & string +Unsupported operand types: float & non-numeric string No error for "foo" &= "123" No error for "123" &= "foo" No error for "foo" &= "123foo" @@ -1840,18 +1840,18 @@ No error for "123foo" &= "foo" Unsupported operand types: array | array Unsupported operand types: array | stdClass Unsupported operand types: array | resource -Unsupported operand types: array | string +Unsupported operand types: array | non-numeric string Unsupported operand types: stdClass | array Unsupported operand types: stdClass | stdClass Unsupported operand types: stdClass | resource -Unsupported operand types: stdClass | string +Unsupported operand types: stdClass | non-numeric string Unsupported operand types: resource | array Unsupported operand types: resource | stdClass Unsupported operand types: resource | resource -Unsupported operand types: resource | string -Unsupported operand types: string | array -Unsupported operand types: string | stdClass -Unsupported operand types: string | resource +Unsupported operand types: resource | non-numeric string +Unsupported operand types: non-numeric string | array +Unsupported operand types: non-numeric string | stdClass +Unsupported operand types: non-numeric string | resource No error for "foo" |= "foo" Unsupported operand types: array | null Unsupported operand types: null | array @@ -1864,11 +1864,11 @@ Unsupported operand types: int | array Unsupported operand types: array | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | array -Unsupported operand types: array | string -Unsupported operand types: string | array -Unsupported operand types: array | string +Unsupported operand types: array | non-numeric string +Unsupported operand types: non-numeric string | array +Unsupported operand types: array | non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string | array +Unsupported operand types: non-numeric string | array Unsupported operand types: stdClass | null Unsupported operand types: null | stdClass Unsupported operand types: stdClass | bool @@ -1880,11 +1880,11 @@ Unsupported operand types: int | stdClass Unsupported operand types: stdClass | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | stdClass -Unsupported operand types: stdClass | string -Unsupported operand types: string | stdClass -Unsupported operand types: stdClass | string +Unsupported operand types: stdClass | non-numeric string +Unsupported operand types: non-numeric string | stdClass +Unsupported operand types: stdClass | non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string | stdClass +Unsupported operand types: non-numeric string | stdClass Unsupported operand types: resource | null Unsupported operand types: null | resource Unsupported operand types: resource | bool @@ -1896,22 +1896,22 @@ Unsupported operand types: int | resource Unsupported operand types: resource | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | resource -Unsupported operand types: resource | string -Unsupported operand types: string | resource -Unsupported operand types: resource | string -Warning: A non-numeric value encountered -Unsupported operand types: string | resource -Unsupported operand types: string | null -Unsupported operand types: null | string -Unsupported operand types: string | bool -Unsupported operand types: bool | string -Unsupported operand types: string | bool -Unsupported operand types: bool | string -Unsupported operand types: string | int -Unsupported operand types: int | string -Unsupported operand types: string | float +Unsupported operand types: resource | non-numeric string +Unsupported operand types: non-numeric string | resource +Unsupported operand types: resource | non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string | resource +Unsupported operand types: non-numeric string | null +Unsupported operand types: null | non-numeric string +Unsupported operand types: non-numeric string | bool +Unsupported operand types: bool | non-numeric string +Unsupported operand types: non-numeric string | bool +Unsupported operand types: bool | non-numeric string +Unsupported operand types: non-numeric string | int +Unsupported operand types: int | non-numeric string +Unsupported operand types: non-numeric string | float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float | string +Unsupported operand types: float | non-numeric string No error for "foo" |= "123" No error for "123" |= "foo" No error for "foo" |= "123foo" @@ -1919,18 +1919,18 @@ No error for "123foo" |= "foo" Unsupported operand types: array ^ array Unsupported operand types: array ^ stdClass Unsupported operand types: array ^ resource -Unsupported operand types: array ^ string +Unsupported operand types: array ^ non-numeric string Unsupported operand types: stdClass ^ array Unsupported operand types: stdClass ^ stdClass Unsupported operand types: stdClass ^ resource -Unsupported operand types: stdClass ^ string +Unsupported operand types: stdClass ^ non-numeric string Unsupported operand types: resource ^ array Unsupported operand types: resource ^ stdClass Unsupported operand types: resource ^ resource -Unsupported operand types: resource ^ string -Unsupported operand types: string ^ array -Unsupported operand types: string ^ stdClass -Unsupported operand types: string ^ resource +Unsupported operand types: resource ^ non-numeric string +Unsupported operand types: non-numeric string ^ array +Unsupported operand types: non-numeric string ^ stdClass +Unsupported operand types: non-numeric string ^ resource No error for "foo" ^= "foo" Unsupported operand types: array ^ null Unsupported operand types: null ^ array @@ -1943,11 +1943,11 @@ Unsupported operand types: int ^ array Unsupported operand types: array ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ array -Unsupported operand types: array ^ string -Unsupported operand types: string ^ array -Unsupported operand types: array ^ string +Unsupported operand types: array ^ non-numeric string +Unsupported operand types: non-numeric string ^ array +Unsupported operand types: array ^ non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string ^ array +Unsupported operand types: non-numeric string ^ array Unsupported operand types: stdClass ^ null Unsupported operand types: null ^ stdClass Unsupported operand types: stdClass ^ bool @@ -1959,11 +1959,11 @@ Unsupported operand types: int ^ stdClass Unsupported operand types: stdClass ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ stdClass -Unsupported operand types: stdClass ^ string -Unsupported operand types: string ^ stdClass -Unsupported operand types: stdClass ^ string +Unsupported operand types: stdClass ^ non-numeric string +Unsupported operand types: non-numeric string ^ stdClass +Unsupported operand types: stdClass ^ non-numeric string Warning: A non-numeric value encountered -Unsupported operand types: string ^ stdClass +Unsupported operand types: non-numeric string ^ stdClass Unsupported operand types: resource ^ null Unsupported operand types: null ^ resource Unsupported operand types: resource ^ bool @@ -1975,22 +1975,22 @@ Unsupported operand types: int ^ resource Unsupported operand types: resource ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ resource -Unsupported operand types: resource ^ string -Unsupported operand types: string ^ resource -Unsupported operand types: resource ^ string -Warning: A non-numeric value encountered -Unsupported operand types: string ^ resource -Unsupported operand types: string ^ null -Unsupported operand types: null ^ string -Unsupported operand types: string ^ bool -Unsupported operand types: bool ^ string -Unsupported operand types: string ^ bool -Unsupported operand types: bool ^ string -Unsupported operand types: string ^ int -Unsupported operand types: int ^ string -Unsupported operand types: string ^ float +Unsupported operand types: resource ^ non-numeric string +Unsupported operand types: non-numeric string ^ resource +Unsupported operand types: resource ^ non-numeric string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric string ^ resource +Unsupported operand types: non-numeric string ^ null +Unsupported operand types: null ^ non-numeric string +Unsupported operand types: non-numeric string ^ bool +Unsupported operand types: bool ^ non-numeric string +Unsupported operand types: non-numeric string ^ bool +Unsupported operand types: bool ^ non-numeric string +Unsupported operand types: non-numeric string ^ int +Unsupported operand types: int ^ non-numeric string +Unsupported operand types: non-numeric string ^ float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float ^ string +Unsupported operand types: float ^ non-numeric string No error for "foo" ^= "123" No error for "123" ^= "foo" No error for "foo" ^= "123foo" diff --git a/Zend/tests/pipe_operator/type_mismatch.phpt b/Zend/tests/pipe_operator/type_mismatch.phpt index 2cee15bb47a0d..0603154d255ed 100644 --- a/Zend/tests/pipe_operator/type_mismatch.phpt +++ b/Zend/tests/pipe_operator/type_mismatch.phpt @@ -17,4 +17,4 @@ catch (Throwable $e) { ?> --EXPECTF-- -TypeError: _test(): Argument #1 ($a) must be of type int, string given, called in %s on line %d +TypeError: _test(): Argument #1 ($a) must be of type int, non-numeric string given, called in %s on line %d diff --git a/Zend/tests/self_and.phpt b/Zend/tests/self_and.phpt index f3662c575c48a..ca5879442d630 100644 --- a/Zend/tests/self_and.phpt +++ b/Zend/tests/self_and.phpt @@ -32,7 +32,7 @@ echo "Done\n"; ?> --EXPECTF-- int(18) -Unsupported operand types: string & int +Unsupported operand types: non-numeric string & int Warning: A non-numeric value encountered in %s on line %d int(33) diff --git a/Zend/tests/self_mod.phpt b/Zend/tests/self_mod.phpt index 7d469f8002399..8cfdf763c7b7f 100644 --- a/Zend/tests/self_mod.phpt +++ b/Zend/tests/self_mod.phpt @@ -24,7 +24,7 @@ echo "Done\n"; ?> --EXPECTF-- int(13) -Unsupported operand types: string % int +Unsupported operand types: non-numeric string % int Warning: A non-numeric value encountered in %s on line %d int(3) diff --git a/Zend/tests/self_or.phpt b/Zend/tests/self_or.phpt index 61f1f4203b080..8bc92c46bfbff 100644 --- a/Zend/tests/self_or.phpt +++ b/Zend/tests/self_or.phpt @@ -32,7 +32,7 @@ echo "Done\n"; ?> --EXPECTF-- int(127) -Unsupported operand types: string | int +Unsupported operand types: non-numeric string | int Warning: A non-numeric value encountered in %s on line %d int(45345) diff --git a/Zend/tests/self_xor.phpt b/Zend/tests/self_xor.phpt index 4bff3f6d508e2..67c6365e6a827 100644 --- a/Zend/tests/self_xor.phpt +++ b/Zend/tests/self_xor.phpt @@ -32,7 +32,7 @@ echo "Done\n"; ?> --EXPECTF-- int(109) -Unsupported operand types: string ^ int +Unsupported operand types: non-numeric string ^ int Warning: A non-numeric value encountered in %s on line %d int(45312) diff --git a/Zend/tests/shift_001.phpt b/Zend/tests/shift_001.phpt index f441cf2dcf8ba..071d6596989bd 100644 --- a/Zend/tests/shift_001.phpt +++ b/Zend/tests/shift_001.phpt @@ -24,7 +24,7 @@ echo "Done\n"; ?> --EXPECTF-- int(492) -Unsupported operand types: string << int +Unsupported operand types: non-numeric string << int Warning: A non-numeric value encountered in %s on line %d int(362760) diff --git a/Zend/tests/shift_002.phpt b/Zend/tests/shift_002.phpt index 0bdc9b3eeb3ce..6655abb5f0206 100644 --- a/Zend/tests/shift_002.phpt +++ b/Zend/tests/shift_002.phpt @@ -24,7 +24,7 @@ echo "Done\n"; ?> --EXPECTF-- int(30) -Unsupported operand types: string >> int +Unsupported operand types: non-numeric string >> int Warning: A non-numeric value encountered in %s on line %d int(5668) diff --git a/Zend/tests/traits/trait_type_errors.phpt b/Zend/tests/traits/trait_type_errors.phpt index d3c7c0582fb18..576538c43a2c0 100644 --- a/Zend/tests/traits/trait_type_errors.phpt +++ b/Zend/tests/traits/trait_type_errors.phpt @@ -39,5 +39,5 @@ try { ?> --EXPECTF-- C::test1(): Return value must be of type int, string returned -C::test2(): Argument #1 ($arg) must be of type int, string given, called in %s on line %d -C::test3(): Argument #1 ($arg) must be of type int, string given, called in %s on line %d +C::test2(): Argument #1 ($arg) must be of type int, non-numeric string given, called in %s on line %d +C::test3(): Argument #1 ($arg) must be of type int, non-numeric string given, called in %s on line %d diff --git a/Zend/tests/type_declarations/literal_types/false_no_coercion.phpt b/Zend/tests/type_declarations/literal_types/false_no_coercion.phpt index 61900f993c0e5..30c4a543feed3 100644 --- a/Zend/tests/type_declarations/literal_types/false_no_coercion.phpt +++ b/Zend/tests/type_declarations/literal_types/false_no_coercion.phpt @@ -24,5 +24,5 @@ try { ?> --EXPECTF-- test(): Argument #1 ($v) must be of type false, int given, called in %s on line %d -test(): Argument #1 ($v) must be of type false, string given, called in %s on line %d +test(): Argument #1 ($v) must be of type false, empty string given, called in %s on line %d test(): Argument #1 ($v) must be of type false, array given, called in %s on line %d diff --git a/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt b/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt index 85d6c90cd057c..5fc2c05a03c5f 100644 --- a/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt +++ b/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt @@ -29,6 +29,6 @@ try { ?> --EXPECTF-- test(): Argument #1 ($v) must be of type true, int given, called in %s on line %d -test(): Argument #1 ($v) must be of type true, string given, called in %s on line %d +test(): Argument #1 ($v) must be of type true, non-numeric string given, called in %s on line %d test(): Argument #1 ($v) must be of type true, array given, called in %s on line %d test(): Argument #1 ($v) must be of type true, stdClass given, called in %s on line %d diff --git a/Zend/tests/type_declarations/scalar_basic.phpt b/Zend/tests/type_declarations/scalar_basic.phpt index 352c48f8a9e07..7692220f3792c 100644 --- a/Zend/tests/type_declarations/scalar_basic.phpt +++ b/Zend/tests/type_declarations/scalar_basic.phpt @@ -76,13 +76,13 @@ E_DEPRECATED: Implicit conversion from float 1.5 to int loses precision on line int(1) *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, empty string given, called in %s on line %d *** Trying int(%d) int(%d) @@ -129,13 +129,13 @@ float(1) float(1.5) *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, empty string given, called in %s on line %d *** Trying int(%d) float(%s) diff --git a/Zend/tests/type_declarations/scalar_constant_defaults_error.phpt b/Zend/tests/type_declarations/scalar_constant_defaults_error.phpt index 72cc9820dad4f..5f27c2b6964f4 100644 --- a/Zend/tests/type_declarations/scalar_constant_defaults_error.phpt +++ b/Zend/tests/type_declarations/scalar_constant_defaults_error.phpt @@ -13,7 +13,7 @@ var_dump(int_val()); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: int_val(): Argument #1 ($a) must be of type int, string given, called in %s:%d +Fatal error: Uncaught TypeError: int_val(): Argument #1 ($a) must be of type int, non-numeric string given, called in %s:%d Stack trace: #0 %s(%d): int_val() #1 {main} diff --git a/Zend/tests/type_declarations/scalar_strict_64bit.phpt b/Zend/tests/type_declarations/scalar_strict_64bit.phpt index b7f2ce0de4396..b9c02f41cfba4 100644 --- a/Zend/tests/type_declarations/scalar_strict_64bit.phpt +++ b/Zend/tests/type_declarations/scalar_strict_64bit.phpt @@ -60,7 +60,7 @@ Testing 'int' type: int(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d @@ -69,13 +69,13 @@ int(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, empty string given, called in %s on line %d *** Trying int(9223372036854775807) int(9223372036854775807) @@ -84,10 +84,10 @@ int(9223372036854775807) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d *** Trying bool(true) -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, true given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d *** Trying bool(false) -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, false given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d *** Trying NULL *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, null given, called in %s on line %d @@ -113,7 +113,7 @@ Testing 'float' type: float(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d *** Trying float(1) float(1) @@ -122,13 +122,13 @@ float(1) float(1.5) *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, empty string given, called in %s on line %d *** Trying int(9223372036854775807) float(9.223372036854776E+18) @@ -137,10 +137,10 @@ float(9.223372036854776E+18) float(NAN) *** Trying bool(true) -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, true given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, bool given, called in %s on line %d *** Trying bool(false) -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, false given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, bool given, called in %s on line %d *** Trying NULL *** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, null given, called in %s on line %d @@ -190,10 +190,10 @@ string(0) "" *** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, float given, called in %s on line %d *** Trying bool(true) -*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, true given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d *** Trying bool(false) -*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, false given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d *** Trying NULL *** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, null given, called in %s on line %d @@ -219,7 +219,7 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d @@ -228,13 +228,13 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, empty string given, called in %s on line %d *** Trying int(9223372036854775807) *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d diff --git a/Zend/tests/type_declarations/scalar_strict_basic.phpt b/Zend/tests/type_declarations/scalar_strict_basic.phpt index 462bed7983d6c..d4970d09d22ec 100644 --- a/Zend/tests/type_declarations/scalar_strict_basic.phpt +++ b/Zend/tests/type_declarations/scalar_strict_basic.phpt @@ -60,13 +60,13 @@ int(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d *** Trying string value -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d *** Trying true value -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, true given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d *** Trying false value -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, false given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d *** Trying null value *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, null given, called in %s on line %d @@ -89,13 +89,13 @@ float(1) float(1) *** Trying string value -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d *** Trying true value -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, true given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, bool given, called in %s on line %d *** Trying false value -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, false given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, bool given, called in %s on line %d *** Trying null value *** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, null given, called in %s on line %d @@ -121,10 +121,10 @@ Testing 'string' type: string(1) "1" *** Trying true value -*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, true given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d *** Trying false value -*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, false given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d *** Trying null value *** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, null given, called in %s on line %d @@ -147,7 +147,7 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d *** Trying string value -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d *** Trying true value bool(true) diff --git a/Zend/tests/type_declarations/union_types/type_checking_strict.phpt b/Zend/tests/type_declarations/union_types/type_checking_strict.phpt index a2a0584b5cef9..89b9043028346 100644 --- a/Zend/tests/type_declarations/union_types/type_checking_strict.phpt +++ b/Zend/tests/type_declarations/union_types/type_checking_strict.phpt @@ -66,13 +66,13 @@ Type int|float: 42 => 42 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given -true => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, true given -false => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, false given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, empty string given +true => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, bool given +false => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, bool given null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, null given [] => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, array given new stdClass => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, stdClass given @@ -82,12 +82,12 @@ Type int|float|false: 42 => 42 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, string given -true => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, true given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, empty string given +true => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, bool given false => false null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, null given [] => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, array given @@ -98,11 +98,11 @@ Type int|float|bool: 42 => 42 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, empty string given true => true false => false null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, null given @@ -114,11 +114,11 @@ Type int|bool: 42 => 42 42.0 => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, float given INF => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, float given -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, empty string given true => true false => false null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, null given @@ -135,8 +135,8 @@ INF => {closure:%s:%d}(): Argument #1 ($arg) must be of type string "42x" => "42x" "x" => "x" "" => "" -true => {closure:%s:%d}(): Argument #1 ($arg) must be of type string|int|null, true given -false => {closure:%s:%d}(): Argument #1 ($arg) must be of type string|int|null, false given +true => {closure:%s:%d}(): Argument #1 ($arg) must be of type string|int|null, bool given +false => {closure:%s:%d}(): Argument #1 ($arg) must be of type string|int|null, bool given null => null [] => {closure:%s:%d}(): Argument #1 ($arg) must be of type string|int|null, array given new stdClass => {closure:%s:%d}(): Argument #1 ($arg) must be of type string|int|null, stdClass given @@ -162,13 +162,13 @@ Type float|array: 42 => 42.0 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, string given -true => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, true given -false => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, false given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, empty string given +true => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, bool given +false => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, bool given null => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, null given [] => [] new stdClass => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, stdClass given @@ -183,8 +183,8 @@ INF => {closure:%s:%d}(): Argument #1 ($arg) must be of type array| "42x" => "42x" "x" => "x" "" => "" -true => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|string, true given -false => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|string, false given +true => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|string, bool given +false => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|string, bool given null => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|string, null given [] => [] new stdClass => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|string, stdClass given @@ -194,11 +194,11 @@ Type bool|array: 42 => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, int given 42.0 => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, float given INF => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, float given -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, empty string given true => true false => false null => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, null given diff --git a/Zend/tests/type_declarations/union_types/type_checking_weak.phpt b/Zend/tests/type_declarations/union_types/type_checking_weak.phpt index 9031b002b2a09..cd73334c4a4d2 100644 --- a/Zend/tests/type_declarations/union_types/type_checking_weak.phpt +++ b/Zend/tests/type_declarations/union_types/type_checking_weak.phpt @@ -66,9 +66,9 @@ Type int|float: INF => INF "42" => 42 "42.0" => 42.0 -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, empty string given true => 1 false => 0 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, null given @@ -82,9 +82,9 @@ Type int|float|false: INF => INF "42" => 42 "42.0" => 42.0 -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, empty string given true => 1 false => false null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, null given @@ -162,9 +162,9 @@ Type float|array: INF => INF "42" => 42.0 "42.0" => 42.0 -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, empty string given true => 1.0 false => 0.0 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, null given diff --git a/ext/opcache/tests/jit/add_005.phpt b/ext/opcache/tests/jit/add_005.phpt index e44565266c24c..3b671f2a909fd 100644 --- a/ext/opcache/tests/jit/add_005.phpt +++ b/ext/opcache/tests/jit/add_005.phpt @@ -16,7 +16,7 @@ function foo($var) { foo("hello"); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: Unsupported operand types: string + int in %s:%d +Fatal error: Uncaught TypeError: Unsupported operand types: non-numeric string + int in %s:%d Stack trace: #0 %s(%d): foo('hello') #1 {main} diff --git a/ext/opcache/tests/jit/assign_dim_op_001.phpt b/ext/opcache/tests/jit/assign_dim_op_001.phpt index c5b057e926030..ba7d611bba99a 100644 --- a/ext/opcache/tests/jit/assign_dim_op_001.phpt +++ b/ext/opcache/tests/jit/assign_dim_op_001.phpt @@ -104,4 +104,4 @@ array(1) { Deprecated: Automatic conversion of false to array is deprecated in %s on line %d Cannot access offset of type array on array -Unsupported operand types: null % string +Unsupported operand types: null % empty string diff --git a/ext/opcache/tests/jit/mul_005.phpt b/ext/opcache/tests/jit/mul_005.phpt index 7476d215f1307..0c3102a243232 100644 --- a/ext/opcache/tests/jit/mul_005.phpt +++ b/ext/opcache/tests/jit/mul_005.phpt @@ -21,4 +21,4 @@ try { } ?> --EXPECT-- -Unsupported operand types: string * int +Unsupported operand types: non-numeric string * int diff --git a/ext/opcache/tests/jit/mul_010.phpt b/ext/opcache/tests/jit/mul_010.phpt index 6c94f8164487a..eec053b37e671 100644 --- a/ext/opcache/tests/jit/mul_010.phpt +++ b/ext/opcache/tests/jit/mul_010.phpt @@ -29,4 +29,4 @@ try { } ?> --EXPECT-- -Unsupported operand types: string * float +Unsupported operand types: non-numeric string * float diff --git a/ext/phar/tests/extract/testit/existing.txt b/ext/phar/tests/extract/testit/existing.txt new file mode 100644 index 0000000000000..17843c7c94da8 --- /dev/null +++ b/ext/phar/tests/extract/testit/existing.txt @@ -0,0 +1 @@ +oops \ No newline at end of file diff --git a/ext/standard/tests/math/pow_variation1_64bit.phpt b/ext/standard/tests/math/pow_variation1_64bit.phpt index debc8b16d2b03..d292b21ea4431 100644 --- a/ext/standard/tests/math/pow_variation1_64bit.phpt +++ b/ext/standard/tests/math/pow_variation1_64bit.phpt @@ -78,9 +78,9 @@ float(0.125) int(0) int(1) int(0) -Unsupported operand types: string ** int +Unsupported operand types: empty string ** int Unsupported operand types: array ** int -Unsupported operand types: string ** int +Unsupported operand types: non-numeric string ** int float(1157.625) int(8) float(0.000250047) diff --git a/ext/standard/tests/math/pow_variation2.phpt b/ext/standard/tests/math/pow_variation2.phpt index 47a4845faade4..bb5832df4e596 100644 --- a/ext/standard/tests/math/pow_variation2.phpt +++ b/ext/standard/tests/math/pow_variation2.phpt @@ -74,9 +74,9 @@ float(4.5055521304275) float(1) float(20.3) float(1) -Unsupported operand types: float ** string +Unsupported operand types: float ** empty string Unsupported operand types: float ** array -Unsupported operand types: float ** string +Unsupported operand types: float ** non-numeric string float(15532029.564086) float(412.09) float(1.2088495422866) diff --git a/tests/lang/bug28800.phpt b/tests/lang/bug28800.phpt index 487c57d24e4aa..54dc7e7f63a9c 100644 --- a/tests/lang/bug28800.phpt +++ b/tests/lang/bug28800.phpt @@ -12,10 +12,10 @@ Bug #28800 (Incorrect string to number conversion for strings starting with 'inf } ?> --EXPECT-- -Unsupported operand types: string + int -Unsupported operand types: string + int -Unsupported operand types: string + int -Unsupported operand types: string + int -Unsupported operand types: string + int -Unsupported operand types: string + int +Unsupported operand types: non-numeric string + int +Unsupported operand types: non-numeric string + int +Unsupported operand types: non-numeric string + int +Unsupported operand types: non-numeric string + int +Unsupported operand types: non-numeric string + int +Unsupported operand types: non-numeric string + int diff --git a/tests/lang/operators/add_variationStr.phpt b/tests/lang/operators/add_variationStr.phpt index 9f8f19dadbdd7..a034f579adfa1 100644 --- a/tests/lang/operators/add_variationStr.phpt +++ b/tests/lang/operators/add_variationStr.phpt @@ -34,7 +34,7 @@ float(1.2) --- testing: '0' + '-7.7' --- float(-7.7) --- testing: '0' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '0' + '123abc' --- int(123) --- testing: '0' + '123e5' --- @@ -50,7 +50,7 @@ int(123) --- testing: '0' + '3.4a' --- float(3.4) --- testing: '0' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '65' + '0' --- int(65) --- testing: '65' + '65' --- @@ -62,7 +62,7 @@ float(66.2) --- testing: '65' + '-7.7' --- float(57.3) --- testing: '65' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '65' + '123abc' --- int(188) --- testing: '65' + '123e5' --- @@ -78,7 +78,7 @@ int(188) --- testing: '65' + '3.4a' --- float(68.4) --- testing: '65' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '-44' + '0' --- int(-44) --- testing: '-44' + '65' --- @@ -90,7 +90,7 @@ float(-42.8) --- testing: '-44' + '-7.7' --- float(-51.7) --- testing: '-44' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '-44' + '123abc' --- int(79) --- testing: '-44' + '123e5' --- @@ -106,7 +106,7 @@ int(79) --- testing: '-44' + '3.4a' --- float(-40.6) --- testing: '-44' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '1.2' + '0' --- float(1.2) --- testing: '1.2' + '65' --- @@ -118,7 +118,7 @@ float(2.4) --- testing: '1.2' + '-7.7' --- float(-6.5) --- testing: '1.2' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '1.2' + '123abc' --- float(124.2) --- testing: '1.2' + '123e5' --- @@ -134,7 +134,7 @@ float(124.2) --- testing: '1.2' + '3.4a' --- float(4.6) --- testing: '1.2' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '-7.7' + '0' --- float(-7.7) --- testing: '-7.7' + '65' --- @@ -146,7 +146,7 @@ float(-6.5) --- testing: '-7.7' + '-7.7' --- float(-15.4) --- testing: '-7.7' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '-7.7' + '123abc' --- float(115.3) --- testing: '-7.7' + '123e5' --- @@ -162,35 +162,35 @@ float(115.3) --- testing: '-7.7' + '3.4a' --- float(-4.300000000000001) --- testing: '-7.7' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + '0' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + '65' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + '-44' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + '1.2' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + '-7.7' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + '123abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + '123e5' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + '123e5xyz' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + ' 123abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + '123 abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + '123abc ' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + '3.4a' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'abc' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '123abc' + '0' --- int(123) --- testing: '123abc' + '65' --- @@ -202,7 +202,7 @@ float(124.2) --- testing: '123abc' + '-7.7' --- float(115.3) --- testing: '123abc' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '123abc' + '123abc' --- int(246) --- testing: '123abc' + '123e5' --- @@ -218,7 +218,7 @@ int(246) --- testing: '123abc' + '3.4a' --- float(126.4) --- testing: '123abc' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '123e5' + '0' --- float(12300000) --- testing: '123e5' + '65' --- @@ -230,7 +230,7 @@ float(12300001.2) --- testing: '123e5' + '-7.7' --- float(12299992.3) --- testing: '123e5' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '123e5' + '123abc' --- float(12300123) --- testing: '123e5' + '123e5' --- @@ -246,7 +246,7 @@ float(12300123) --- testing: '123e5' + '3.4a' --- float(12300003.4) --- testing: '123e5' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '123e5xyz' + '0' --- float(12300000) --- testing: '123e5xyz' + '65' --- @@ -258,7 +258,7 @@ float(12300001.2) --- testing: '123e5xyz' + '-7.7' --- float(12299992.3) --- testing: '123e5xyz' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '123e5xyz' + '123abc' --- float(12300123) --- testing: '123e5xyz' + '123e5' --- @@ -274,7 +274,7 @@ float(12300123) --- testing: '123e5xyz' + '3.4a' --- float(12300003.4) --- testing: '123e5xyz' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: ' 123abc' + '0' --- int(123) --- testing: ' 123abc' + '65' --- @@ -286,7 +286,7 @@ float(124.2) --- testing: ' 123abc' + '-7.7' --- float(115.3) --- testing: ' 123abc' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: ' 123abc' + '123abc' --- int(246) --- testing: ' 123abc' + '123e5' --- @@ -302,7 +302,7 @@ int(246) --- testing: ' 123abc' + '3.4a' --- float(126.4) --- testing: ' 123abc' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '123 abc' + '0' --- int(123) --- testing: '123 abc' + '65' --- @@ -314,7 +314,7 @@ float(124.2) --- testing: '123 abc' + '-7.7' --- float(115.3) --- testing: '123 abc' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '123 abc' + '123abc' --- int(246) --- testing: '123 abc' + '123e5' --- @@ -330,7 +330,7 @@ int(246) --- testing: '123 abc' + '3.4a' --- float(126.4) --- testing: '123 abc' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '123abc ' + '0' --- int(123) --- testing: '123abc ' + '65' --- @@ -342,7 +342,7 @@ float(124.2) --- testing: '123abc ' + '-7.7' --- float(115.3) --- testing: '123abc ' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '123abc ' + '123abc' --- int(246) --- testing: '123abc ' + '123e5' --- @@ -358,7 +358,7 @@ int(246) --- testing: '123abc ' + '3.4a' --- float(126.4) --- testing: '123abc ' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '3.4a' + '0' --- float(3.4) --- testing: '3.4a' + '65' --- @@ -370,7 +370,7 @@ float(4.6) --- testing: '3.4a' + '-7.7' --- float(-4.300000000000001) --- testing: '3.4a' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: '3.4a' + '123abc' --- float(126.4) --- testing: '3.4a' + '123e5' --- @@ -386,32 +386,32 @@ float(126.4) --- testing: '3.4a' + '3.4a' --- float(6.8) --- testing: '3.4a' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + '0' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + '65' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + '-44' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + '1.2' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + '-7.7' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + 'abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + '123abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + '123e5' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + '123e5xyz' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + ' 123abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + '123 abc' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + '123abc ' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + '3.4a' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string --- testing: 'a5.9' + 'a5.9' --- -Unsupported operand types: string + string +Unsupported operand types: non-numeric string + non-numeric string diff --git a/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt b/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt index cf227ddf8f8f6..e4b361b2e91d2 100644 --- a/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt +++ b/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt @@ -34,7 +34,7 @@ int(0) --- testing: '0' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '0' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '0' << '123abc' --- int(0) --- testing: '0' << '123e5' --- @@ -50,7 +50,7 @@ int(0) --- testing: '0' << '3.4a' --- int(0) --- testing: '0' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '65' << '0' --- int(65) --- testing: '65' << '65' --- @@ -62,7 +62,7 @@ int(130) --- testing: '65' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '65' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '65' << '123abc' --- int(0) --- testing: '65' << '123e5' --- @@ -78,7 +78,7 @@ int(0) --- testing: '65' << '3.4a' --- int(520) --- testing: '65' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '-44' << '0' --- int(-44) --- testing: '-44' << '65' --- @@ -90,7 +90,7 @@ int(-88) --- testing: '-44' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-44' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '-44' << '123abc' --- int(0) --- testing: '-44' << '123e5' --- @@ -106,7 +106,7 @@ int(0) --- testing: '-44' << '3.4a' --- int(-352) --- testing: '-44' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '1.2' << '0' --- int(1) --- testing: '1.2' << '65' --- @@ -118,7 +118,7 @@ int(2) --- testing: '1.2' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '1.2' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '1.2' << '123abc' --- int(0) --- testing: '1.2' << '123e5' --- @@ -134,7 +134,7 @@ int(0) --- testing: '1.2' << '3.4a' --- int(8) --- testing: '1.2' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '-7.7' << '0' --- int(-7) --- testing: '-7.7' << '65' --- @@ -146,7 +146,7 @@ int(-14) --- testing: '-7.7' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-7.7' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '-7.7' << '123abc' --- int(0) --- testing: '-7.7' << '123e5' --- @@ -162,35 +162,35 @@ int(0) --- testing: '-7.7' << '3.4a' --- int(-56) --- testing: '-7.7' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '0' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '65' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '-44' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '1.2' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '-7.7' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '123abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '123e5' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '123e5xyz' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << ' 123abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '123 abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '123abc ' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '3.4a' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123abc' << '0' --- int(123) --- testing: '123abc' << '65' --- @@ -202,7 +202,7 @@ int(246) --- testing: '123abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123abc' << '123abc' --- int(0) --- testing: '123abc' << '123e5' --- @@ -218,7 +218,7 @@ int(0) --- testing: '123abc' << '3.4a' --- int(984) --- testing: '123abc' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123e5' << '0' --- int(12300000) --- testing: '123e5' << '65' --- @@ -230,7 +230,7 @@ int(24600000) --- testing: '123e5' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123e5' << '123abc' --- int(0) --- testing: '123e5' << '123e5' --- @@ -246,7 +246,7 @@ int(0) --- testing: '123e5' << '3.4a' --- int(98400000) --- testing: '123e5' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123e5xyz' << '0' --- int(12300000) --- testing: '123e5xyz' << '65' --- @@ -258,7 +258,7 @@ int(24600000) --- testing: '123e5xyz' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5xyz' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123e5xyz' << '123abc' --- int(0) --- testing: '123e5xyz' << '123e5' --- @@ -274,7 +274,7 @@ int(0) --- testing: '123e5xyz' << '3.4a' --- int(98400000) --- testing: '123e5xyz' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: ' 123abc' << '0' --- int(123) --- testing: ' 123abc' << '65' --- @@ -286,7 +286,7 @@ int(246) --- testing: ' 123abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: ' 123abc' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: ' 123abc' << '123abc' --- int(0) --- testing: ' 123abc' << '123e5' --- @@ -302,7 +302,7 @@ int(0) --- testing: ' 123abc' << '3.4a' --- int(984) --- testing: ' 123abc' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123 abc' << '0' --- int(123) --- testing: '123 abc' << '65' --- @@ -314,7 +314,7 @@ int(246) --- testing: '123 abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123 abc' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123 abc' << '123abc' --- int(0) --- testing: '123 abc' << '123e5' --- @@ -330,7 +330,7 @@ int(0) --- testing: '123 abc' << '3.4a' --- int(984) --- testing: '123 abc' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123abc ' << '0' --- int(123) --- testing: '123abc ' << '65' --- @@ -342,7 +342,7 @@ int(246) --- testing: '123abc ' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc ' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123abc ' << '123abc' --- int(0) --- testing: '123abc ' << '123e5' --- @@ -358,7 +358,7 @@ int(0) --- testing: '123abc ' << '3.4a' --- int(984) --- testing: '123abc ' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '3.4a' << '0' --- int(3) --- testing: '3.4a' << '65' --- @@ -370,7 +370,7 @@ int(6) --- testing: '3.4a' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '3.4a' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '3.4a' << '123abc' --- int(0) --- testing: '3.4a' << '123e5' --- @@ -386,32 +386,32 @@ int(0) --- testing: '3.4a' << '3.4a' --- int(24) --- testing: '3.4a' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '0' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '65' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '-44' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '1.2' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '-7.7' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '123abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '123e5' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '123e5xyz' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << ' 123abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '123 abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '123abc ' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '3.4a' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string diff --git a/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt b/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt index c3e7af98928a1..91406b0e8265c 100644 --- a/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt +++ b/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt @@ -39,7 +39,7 @@ int(0) --- testing: '0' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '0' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '0' << '123abc' --- int(0) --- testing: '0' << '123e5' --- @@ -55,7 +55,7 @@ int(0) --- testing: '0' << '3.4a' --- int(0) --- testing: '0' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '65' << '0' --- int(65) --- testing: '65' << '65' --- @@ -67,7 +67,7 @@ int(130) --- testing: '65' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '65' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '65' << '123abc' --- int(0) --- testing: '65' << '123e5' --- @@ -83,7 +83,7 @@ int(0) --- testing: '65' << '3.4a' --- int(520) --- testing: '65' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '-44' << '0' --- int(-44) --- testing: '-44' << '65' --- @@ -95,7 +95,7 @@ int(-88) --- testing: '-44' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-44' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '-44' << '123abc' --- int(0) --- testing: '-44' << '123e5' --- @@ -111,7 +111,7 @@ int(0) --- testing: '-44' << '3.4a' --- int(-352) --- testing: '-44' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '1.2' << '0' --- int(1) --- testing: '1.2' << '65' --- @@ -123,7 +123,7 @@ int(2) --- testing: '1.2' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '1.2' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '1.2' << '123abc' --- int(0) --- testing: '1.2' << '123e5' --- @@ -139,7 +139,7 @@ int(0) --- testing: '1.2' << '3.4a' --- int(8) --- testing: '1.2' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '-7.7' << '0' --- int(-7) --- testing: '-7.7' << '65' --- @@ -151,7 +151,7 @@ int(-14) --- testing: '-7.7' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-7.7' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '-7.7' << '123abc' --- int(0) --- testing: '-7.7' << '123e5' --- @@ -167,35 +167,35 @@ int(0) --- testing: '-7.7' << '3.4a' --- int(-56) --- testing: '-7.7' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '0' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '65' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '-44' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '1.2' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '-7.7' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '123abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '123e5' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '123e5xyz' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << ' 123abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '123 abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '123abc ' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << '3.4a' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'abc' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123abc' << '0' --- int(123) --- testing: '123abc' << '65' --- @@ -207,7 +207,7 @@ int(246) --- testing: '123abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123abc' << '123abc' --- int(0) --- testing: '123abc' << '123e5' --- @@ -223,7 +223,7 @@ int(0) --- testing: '123abc' << '3.4a' --- int(984) --- testing: '123abc' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123e5' << '0' --- int(12300000) --- testing: '123e5' << '65' --- @@ -235,7 +235,7 @@ int(24600000) --- testing: '123e5' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123e5' << '123abc' --- int(0) --- testing: '123e5' << '123e5' --- @@ -251,7 +251,7 @@ int(0) --- testing: '123e5' << '3.4a' --- int(98400000) --- testing: '123e5' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123e5xyz' << '0' --- int(12300000) --- testing: '123e5xyz' << '65' --- @@ -263,7 +263,7 @@ int(24600000) --- testing: '123e5xyz' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5xyz' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123e5xyz' << '123abc' --- int(0) --- testing: '123e5xyz' << '123e5' --- @@ -279,7 +279,7 @@ int(0) --- testing: '123e5xyz' << '3.4a' --- int(98400000) --- testing: '123e5xyz' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: ' 123abc' << '0' --- int(123) --- testing: ' 123abc' << '65' --- @@ -291,7 +291,7 @@ int(246) --- testing: ' 123abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: ' 123abc' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: ' 123abc' << '123abc' --- int(0) --- testing: ' 123abc' << '123e5' --- @@ -307,7 +307,7 @@ int(0) --- testing: ' 123abc' << '3.4a' --- int(984) --- testing: ' 123abc' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123 abc' << '0' --- int(123) --- testing: '123 abc' << '65' --- @@ -319,7 +319,7 @@ int(246) --- testing: '123 abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123 abc' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123 abc' << '123abc' --- int(0) --- testing: '123 abc' << '123e5' --- @@ -335,7 +335,7 @@ int(0) --- testing: '123 abc' << '3.4a' --- int(984) --- testing: '123 abc' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123abc ' << '0' --- int(123) --- testing: '123abc ' << '65' --- @@ -347,7 +347,7 @@ int(246) --- testing: '123abc ' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc ' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '123abc ' << '123abc' --- int(0) --- testing: '123abc ' << '123e5' --- @@ -363,7 +363,7 @@ int(0) --- testing: '123abc ' << '3.4a' --- int(984) --- testing: '123abc ' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '3.4a' << '0' --- int(3) --- testing: '3.4a' << '65' --- @@ -375,7 +375,7 @@ int(6) --- testing: '3.4a' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '3.4a' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: '3.4a' << '123abc' --- int(0) --- testing: '3.4a' << '123e5' --- @@ -391,32 +391,32 @@ int(0) --- testing: '3.4a' << '3.4a' --- int(24) --- testing: '3.4a' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '0' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '65' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '-44' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '1.2' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '-7.7' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << 'abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '123abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '123e5' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '123e5xyz' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << ' 123abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '123 abc' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '123abc ' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << '3.4a' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string --- testing: 'a5.9' << 'a5.9' --- -TypeError: Unsupported operand types: string << string +TypeError: Unsupported operand types: non-numeric string << non-numeric string diff --git a/tests/lang/operators/bitwiseShiftRight_variationStr.phpt b/tests/lang/operators/bitwiseShiftRight_variationStr.phpt index d1f124933c853..8e31771af2cce 100644 --- a/tests/lang/operators/bitwiseShiftRight_variationStr.phpt +++ b/tests/lang/operators/bitwiseShiftRight_variationStr.phpt @@ -35,7 +35,7 @@ int(0) --- testing: '0' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '0' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '0' >> '123abc' --- int(0) --- testing: '0' >> '123e5' --- @@ -51,7 +51,7 @@ int(0) --- testing: '0' >> '3.4a' --- int(0) --- testing: '0' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '65' >> '0' --- int(65) --- testing: '65' >> '65' --- @@ -63,7 +63,7 @@ int(32) --- testing: '65' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '65' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '65' >> '123abc' --- int(0) --- testing: '65' >> '123e5' --- @@ -79,7 +79,7 @@ int(0) --- testing: '65' >> '3.4a' --- int(8) --- testing: '65' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '-44' >> '0' --- int(-44) --- testing: '-44' >> '65' --- @@ -91,7 +91,7 @@ int(-22) --- testing: '-44' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-44' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '-44' >> '123abc' --- int(-1) --- testing: '-44' >> '123e5' --- @@ -107,7 +107,7 @@ int(-1) --- testing: '-44' >> '3.4a' --- int(-6) --- testing: '-44' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '1.2' >> '0' --- int(1) --- testing: '1.2' >> '65' --- @@ -119,7 +119,7 @@ int(0) --- testing: '1.2' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '1.2' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '1.2' >> '123abc' --- int(0) --- testing: '1.2' >> '123e5' --- @@ -135,7 +135,7 @@ int(0) --- testing: '1.2' >> '3.4a' --- int(0) --- testing: '1.2' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '-7.7' >> '0' --- int(-7) --- testing: '-7.7' >> '65' --- @@ -147,7 +147,7 @@ int(-4) --- testing: '-7.7' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-7.7' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '-7.7' >> '123abc' --- int(-1) --- testing: '-7.7' >> '123e5' --- @@ -163,35 +163,35 @@ int(-1) --- testing: '-7.7' >> '3.4a' --- int(-1) --- testing: '-7.7' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> '0' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> '65' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> '-44' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> '1.2' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> '-7.7' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> '123abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> '123e5' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> '123e5xyz' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> ' 123abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> '123 abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> '123abc ' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> '3.4a' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'abc' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '123abc' >> '0' --- int(123) --- testing: '123abc' >> '65' --- @@ -203,7 +203,7 @@ int(61) --- testing: '123abc' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '123abc' >> '123abc' --- int(0) --- testing: '123abc' >> '123e5' --- @@ -219,7 +219,7 @@ int(0) --- testing: '123abc' >> '3.4a' --- int(15) --- testing: '123abc' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '123e5' >> '0' --- int(12300000) --- testing: '123e5' >> '65' --- @@ -231,7 +231,7 @@ int(6150000) --- testing: '123e5' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '123e5' >> '123abc' --- int(0) --- testing: '123e5' >> '123e5' --- @@ -247,7 +247,7 @@ int(0) --- testing: '123e5' >> '3.4a' --- int(1537500) --- testing: '123e5' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '123e5xyz' >> '0' --- int(12300000) --- testing: '123e5xyz' >> '65' --- @@ -259,7 +259,7 @@ int(6150000) --- testing: '123e5xyz' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5xyz' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '123e5xyz' >> '123abc' --- int(0) --- testing: '123e5xyz' >> '123e5' --- @@ -275,7 +275,7 @@ int(0) --- testing: '123e5xyz' >> '3.4a' --- int(1537500) --- testing: '123e5xyz' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: ' 123abc' >> '0' --- int(123) --- testing: ' 123abc' >> '65' --- @@ -287,7 +287,7 @@ int(61) --- testing: ' 123abc' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: ' 123abc' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: ' 123abc' >> '123abc' --- int(0) --- testing: ' 123abc' >> '123e5' --- @@ -303,7 +303,7 @@ int(0) --- testing: ' 123abc' >> '3.4a' --- int(15) --- testing: ' 123abc' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '123 abc' >> '0' --- int(123) --- testing: '123 abc' >> '65' --- @@ -315,7 +315,7 @@ int(61) --- testing: '123 abc' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123 abc' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '123 abc' >> '123abc' --- int(0) --- testing: '123 abc' >> '123e5' --- @@ -331,7 +331,7 @@ int(0) --- testing: '123 abc' >> '3.4a' --- int(15) --- testing: '123 abc' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '123abc ' >> '0' --- int(123) --- testing: '123abc ' >> '65' --- @@ -343,7 +343,7 @@ int(61) --- testing: '123abc ' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc ' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '123abc ' >> '123abc' --- int(0) --- testing: '123abc ' >> '123e5' --- @@ -359,7 +359,7 @@ int(0) --- testing: '123abc ' >> '3.4a' --- int(15) --- testing: '123abc ' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '3.4a' >> '0' --- int(3) --- testing: '3.4a' >> '65' --- @@ -371,7 +371,7 @@ int(1) --- testing: '3.4a' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '3.4a' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: '3.4a' >> '123abc' --- int(0) --- testing: '3.4a' >> '123e5' --- @@ -387,32 +387,32 @@ int(0) --- testing: '3.4a' >> '3.4a' --- int(0) --- testing: '3.4a' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> '0' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> '65' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> '-44' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> '1.2' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> '-7.7' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> 'abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> '123abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> '123e5' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> '123e5xyz' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> ' 123abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> '123 abc' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> '123abc ' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> '3.4a' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string --- testing: 'a5.9' >> 'a5.9' --- -TypeError: Unsupported operand types: string >> string +TypeError: Unsupported operand types: non-numeric string >> non-numeric string diff --git a/tests/lang/operators/divide_variationStr.phpt b/tests/lang/operators/divide_variationStr.phpt index 6c62972ffd38c..b38b35612b785 100644 --- a/tests/lang/operators/divide_variationStr.phpt +++ b/tests/lang/operators/divide_variationStr.phpt @@ -37,7 +37,7 @@ float(0) --- testing: '0'/'-7.7' --- float(-0) --- testing: '0'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '0'/'123abc' --- int(0) --- testing: '0'/'123e5' --- @@ -53,7 +53,7 @@ int(0) --- testing: '0'/'3.4a' --- float(0) --- testing: '0'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '65'/'0' --- Division by zero --- testing: '65'/'65' --- @@ -65,7 +65,7 @@ float(54.16666666666667) --- testing: '65'/'-7.7' --- float(-8.441558441558442) --- testing: '65'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '65'/'123abc' --- float(0.5284552845528455) --- testing: '65'/'123e5' --- @@ -81,7 +81,7 @@ float(0.5284552845528455) --- testing: '65'/'3.4a' --- float(19.11764705882353) --- testing: '65'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '-44'/'0' --- Division by zero --- testing: '-44'/'65' --- @@ -93,7 +93,7 @@ float(-36.66666666666667) --- testing: '-44'/'-7.7' --- float(5.714285714285714) --- testing: '-44'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '-44'/'123abc' --- float(-0.35772357723577236) --- testing: '-44'/'123e5' --- @@ -109,7 +109,7 @@ float(-0.35772357723577236) --- testing: '-44'/'3.4a' --- float(-12.941176470588236) --- testing: '-44'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '1.2'/'0' --- Division by zero --- testing: '1.2'/'65' --- @@ -121,7 +121,7 @@ float(1) --- testing: '1.2'/'-7.7' --- float(-0.15584415584415584) --- testing: '1.2'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '1.2'/'123abc' --- float(0.00975609756097561) --- testing: '1.2'/'123e5' --- @@ -137,7 +137,7 @@ float(0.00975609756097561) --- testing: '1.2'/'3.4a' --- float(0.35294117647058826) --- testing: '1.2'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '-7.7'/'0' --- Division by zero --- testing: '-7.7'/'65' --- @@ -149,7 +149,7 @@ float(-6.416666666666667) --- testing: '-7.7'/'-7.7' --- float(1) --- testing: '-7.7'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '-7.7'/'123abc' --- float(-0.06260162601626017) --- testing: '-7.7'/'123e5' --- @@ -165,35 +165,35 @@ float(-0.06260162601626017) --- testing: '-7.7'/'3.4a' --- float(-2.264705882352941) --- testing: '-7.7'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'0' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'65' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'-44' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'1.2' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'-7.7' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'123abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'123e5' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'123e5xyz' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/' 123abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'123 abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'123abc ' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'3.4a' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'abc'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '123abc'/'0' --- Division by zero --- testing: '123abc'/'65' --- @@ -205,7 +205,7 @@ float(102.5) --- testing: '123abc'/'-7.7' --- float(-15.974025974025974) --- testing: '123abc'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '123abc'/'123abc' --- int(1) --- testing: '123abc'/'123e5' --- @@ -221,7 +221,7 @@ int(1) --- testing: '123abc'/'3.4a' --- float(36.1764705882353) --- testing: '123abc'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '123e5'/'0' --- Division by zero --- testing: '123e5'/'65' --- @@ -233,7 +233,7 @@ float(10250000) --- testing: '123e5'/'-7.7' --- float(-1597402.5974025973) --- testing: '123e5'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '123e5'/'123abc' --- float(100000) --- testing: '123e5'/'123e5' --- @@ -249,7 +249,7 @@ float(100000) --- testing: '123e5'/'3.4a' --- float(3617647.0588235296) --- testing: '123e5'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '123e5xyz'/'0' --- Division by zero --- testing: '123e5xyz'/'65' --- @@ -261,7 +261,7 @@ float(10250000) --- testing: '123e5xyz'/'-7.7' --- float(-1597402.5974025973) --- testing: '123e5xyz'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '123e5xyz'/'123abc' --- float(100000) --- testing: '123e5xyz'/'123e5' --- @@ -277,7 +277,7 @@ float(100000) --- testing: '123e5xyz'/'3.4a' --- float(3617647.0588235296) --- testing: '123e5xyz'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: ' 123abc'/'0' --- Division by zero --- testing: ' 123abc'/'65' --- @@ -289,7 +289,7 @@ float(102.5) --- testing: ' 123abc'/'-7.7' --- float(-15.974025974025974) --- testing: ' 123abc'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: ' 123abc'/'123abc' --- int(1) --- testing: ' 123abc'/'123e5' --- @@ -305,7 +305,7 @@ int(1) --- testing: ' 123abc'/'3.4a' --- float(36.1764705882353) --- testing: ' 123abc'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '123 abc'/'0' --- Division by zero --- testing: '123 abc'/'65' --- @@ -317,7 +317,7 @@ float(102.5) --- testing: '123 abc'/'-7.7' --- float(-15.974025974025974) --- testing: '123 abc'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '123 abc'/'123abc' --- int(1) --- testing: '123 abc'/'123e5' --- @@ -333,7 +333,7 @@ int(1) --- testing: '123 abc'/'3.4a' --- float(36.1764705882353) --- testing: '123 abc'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '123abc '/'0' --- Division by zero --- testing: '123abc '/'65' --- @@ -345,7 +345,7 @@ float(102.5) --- testing: '123abc '/'-7.7' --- float(-15.974025974025974) --- testing: '123abc '/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '123abc '/'123abc' --- int(1) --- testing: '123abc '/'123e5' --- @@ -361,7 +361,7 @@ int(1) --- testing: '123abc '/'3.4a' --- float(36.1764705882353) --- testing: '123abc '/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '3.4a'/'0' --- Division by zero --- testing: '3.4a'/'65' --- @@ -373,7 +373,7 @@ float(2.8333333333333335) --- testing: '3.4a'/'-7.7' --- float(-0.44155844155844154) --- testing: '3.4a'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: '3.4a'/'123abc' --- float(0.027642276422764227) --- testing: '3.4a'/'123e5' --- @@ -389,32 +389,32 @@ float(0.027642276422764227) --- testing: '3.4a'/'3.4a' --- float(1) --- testing: '3.4a'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'0' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'65' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'-44' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'1.2' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'-7.7' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'123abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'123e5' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'123e5xyz' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/' 123abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'123 abc' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'123abc ' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'3.4a' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string --- testing: 'a5.9'/'a5.9' --- -Unsupported operand types: string / string +Unsupported operand types: non-numeric string / non-numeric string diff --git a/tests/lang/operators/modulus_variationStr.phpt b/tests/lang/operators/modulus_variationStr.phpt index 1f9aae88a4d87..0f91e396c87ed 100644 --- a/tests/lang/operators/modulus_variationStr.phpt +++ b/tests/lang/operators/modulus_variationStr.phpt @@ -35,7 +35,7 @@ int(0) --- testing: '0' % '-7.7' --- int(0) --- testing: '0' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '0' % '123abc' --- int(0) --- testing: '0' % '123e5' --- @@ -51,7 +51,7 @@ int(0) --- testing: '0' % '3.4a' --- int(0) --- testing: '0' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '65' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '65' % '65' --- @@ -63,7 +63,7 @@ int(0) --- testing: '65' % '-7.7' --- int(2) --- testing: '65' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '65' % '123abc' --- int(65) --- testing: '65' % '123e5' --- @@ -79,7 +79,7 @@ int(65) --- testing: '65' % '3.4a' --- int(2) --- testing: '65' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '-44' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '-44' % '65' --- @@ -91,7 +91,7 @@ int(0) --- testing: '-44' % '-7.7' --- int(-2) --- testing: '-44' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '-44' % '123abc' --- int(-44) --- testing: '-44' % '123e5' --- @@ -107,7 +107,7 @@ int(-44) --- testing: '-44' % '3.4a' --- int(-2) --- testing: '-44' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '1.2' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '1.2' % '65' --- @@ -119,7 +119,7 @@ int(0) --- testing: '1.2' % '-7.7' --- int(1) --- testing: '1.2' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '1.2' % '123abc' --- int(1) --- testing: '1.2' % '123e5' --- @@ -135,7 +135,7 @@ int(1) --- testing: '1.2' % '3.4a' --- int(1) --- testing: '1.2' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '-7.7' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '-7.7' % '65' --- @@ -147,7 +147,7 @@ int(0) --- testing: '-7.7' % '-7.7' --- int(0) --- testing: '-7.7' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '-7.7' % '123abc' --- int(-7) --- testing: '-7.7' % '123e5' --- @@ -163,35 +163,35 @@ int(-7) --- testing: '-7.7' % '3.4a' --- int(-1) --- testing: '-7.7' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % '0' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % '65' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % '-44' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % '1.2' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % '-7.7' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % '123abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % '123e5' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % '123e5xyz' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % ' 123abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % '123 abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % '123abc ' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % '3.4a' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'abc' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '123abc' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '123abc' % '65' --- @@ -203,7 +203,7 @@ int(0) --- testing: '123abc' % '-7.7' --- int(4) --- testing: '123abc' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '123abc' % '123abc' --- int(0) --- testing: '123abc' % '123e5' --- @@ -219,7 +219,7 @@ int(0) --- testing: '123abc' % '3.4a' --- int(0) --- testing: '123abc' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '123e5' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '123e5' % '65' --- @@ -231,7 +231,7 @@ int(0) --- testing: '123e5' % '-7.7' --- int(6) --- testing: '123e5' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '123e5' % '123abc' --- int(0) --- testing: '123e5' % '123e5' --- @@ -247,7 +247,7 @@ int(0) --- testing: '123e5' % '3.4a' --- int(0) --- testing: '123e5' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '123e5xyz' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '123e5xyz' % '65' --- @@ -259,7 +259,7 @@ int(0) --- testing: '123e5xyz' % '-7.7' --- int(6) --- testing: '123e5xyz' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '123e5xyz' % '123abc' --- int(0) --- testing: '123e5xyz' % '123e5' --- @@ -275,7 +275,7 @@ int(0) --- testing: '123e5xyz' % '3.4a' --- int(0) --- testing: '123e5xyz' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: ' 123abc' % '0' --- DivisionByZeroError: Modulo by zero --- testing: ' 123abc' % '65' --- @@ -287,7 +287,7 @@ int(0) --- testing: ' 123abc' % '-7.7' --- int(4) --- testing: ' 123abc' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: ' 123abc' % '123abc' --- int(0) --- testing: ' 123abc' % '123e5' --- @@ -303,7 +303,7 @@ int(0) --- testing: ' 123abc' % '3.4a' --- int(0) --- testing: ' 123abc' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '123 abc' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '123 abc' % '65' --- @@ -315,7 +315,7 @@ int(0) --- testing: '123 abc' % '-7.7' --- int(4) --- testing: '123 abc' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '123 abc' % '123abc' --- int(0) --- testing: '123 abc' % '123e5' --- @@ -331,7 +331,7 @@ int(0) --- testing: '123 abc' % '3.4a' --- int(0) --- testing: '123 abc' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '123abc ' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '123abc ' % '65' --- @@ -343,7 +343,7 @@ int(0) --- testing: '123abc ' % '-7.7' --- int(4) --- testing: '123abc ' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '123abc ' % '123abc' --- int(0) --- testing: '123abc ' % '123e5' --- @@ -359,7 +359,7 @@ int(0) --- testing: '123abc ' % '3.4a' --- int(0) --- testing: '123abc ' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '3.4a' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '3.4a' % '65' --- @@ -371,7 +371,7 @@ int(0) --- testing: '3.4a' % '-7.7' --- int(3) --- testing: '3.4a' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: '3.4a' % '123abc' --- int(3) --- testing: '3.4a' % '123e5' --- @@ -387,32 +387,32 @@ int(3) --- testing: '3.4a' % '3.4a' --- int(0) --- testing: '3.4a' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % '0' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % '65' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % '-44' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % '1.2' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % '-7.7' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % 'abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % '123abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % '123e5' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % '123e5xyz' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % ' 123abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % '123 abc' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % '123abc ' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % '3.4a' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string --- testing: 'a5.9' % 'a5.9' --- -TypeError: Unsupported operand types: string % string +TypeError: Unsupported operand types: non-numeric string % non-numeric string diff --git a/tests/lang/operators/multiply_variationStr.phpt b/tests/lang/operators/multiply_variationStr.phpt index af650ae993555..18787efc6a865 100644 --- a/tests/lang/operators/multiply_variationStr.phpt +++ b/tests/lang/operators/multiply_variationStr.phpt @@ -34,7 +34,7 @@ float(0) --- testing: '0' * '-7.7' --- float(-0) --- testing: '0' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '0' * '123abc' --- int(0) --- testing: '0' * '123e5' --- @@ -50,7 +50,7 @@ int(0) --- testing: '0' * '3.4a' --- float(0) --- testing: '0' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '65' * '0' --- int(0) --- testing: '65' * '65' --- @@ -62,7 +62,7 @@ float(78) --- testing: '65' * '-7.7' --- float(-500.5) --- testing: '65' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '65' * '123abc' --- int(7995) --- testing: '65' * '123e5' --- @@ -78,7 +78,7 @@ int(7995) --- testing: '65' * '3.4a' --- float(221) --- testing: '65' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '-44' * '0' --- int(0) --- testing: '-44' * '65' --- @@ -90,7 +90,7 @@ float(-52.8) --- testing: '-44' * '-7.7' --- float(338.8) --- testing: '-44' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '-44' * '123abc' --- int(-5412) --- testing: '-44' * '123e5' --- @@ -106,7 +106,7 @@ int(-5412) --- testing: '-44' * '3.4a' --- float(-149.6) --- testing: '-44' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '1.2' * '0' --- float(0) --- testing: '1.2' * '65' --- @@ -118,7 +118,7 @@ float(1.44) --- testing: '1.2' * '-7.7' --- float(-9.24) --- testing: '1.2' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '1.2' * '123abc' --- float(147.6) --- testing: '1.2' * '123e5' --- @@ -134,7 +134,7 @@ float(147.6) --- testing: '1.2' * '3.4a' --- float(4.08) --- testing: '1.2' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '-7.7' * '0' --- float(-0) --- testing: '-7.7' * '65' --- @@ -146,7 +146,7 @@ float(-9.24) --- testing: '-7.7' * '-7.7' --- float(59.290000000000006) --- testing: '-7.7' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '-7.7' * '123abc' --- float(-947.1) --- testing: '-7.7' * '123e5' --- @@ -162,35 +162,35 @@ float(-947.1) --- testing: '-7.7' * '3.4a' --- float(-26.18) --- testing: '-7.7' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * '0' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * '65' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * '-44' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * '1.2' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * '-7.7' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * '123abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * '123e5' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * '123e5xyz' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * ' 123abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * '123 abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * '123abc ' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * '3.4a' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'abc' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '123abc' * '0' --- int(0) --- testing: '123abc' * '65' --- @@ -202,7 +202,7 @@ float(147.6) --- testing: '123abc' * '-7.7' --- float(-947.1) --- testing: '123abc' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '123abc' * '123abc' --- int(15129) --- testing: '123abc' * '123e5' --- @@ -218,7 +218,7 @@ int(15129) --- testing: '123abc' * '3.4a' --- float(418.2) --- testing: '123abc' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '123e5' * '0' --- float(0) --- testing: '123e5' * '65' --- @@ -230,7 +230,7 @@ float(14760000) --- testing: '123e5' * '-7.7' --- float(-94710000) --- testing: '123e5' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '123e5' * '123abc' --- float(1512900000) --- testing: '123e5' * '123e5' --- @@ -246,7 +246,7 @@ float(1512900000) --- testing: '123e5' * '3.4a' --- float(41820000) --- testing: '123e5' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '123e5xyz' * '0' --- float(0) --- testing: '123e5xyz' * '65' --- @@ -258,7 +258,7 @@ float(14760000) --- testing: '123e5xyz' * '-7.7' --- float(-94710000) --- testing: '123e5xyz' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '123e5xyz' * '123abc' --- float(1512900000) --- testing: '123e5xyz' * '123e5' --- @@ -274,7 +274,7 @@ float(1512900000) --- testing: '123e5xyz' * '3.4a' --- float(41820000) --- testing: '123e5xyz' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: ' 123abc' * '0' --- int(0) --- testing: ' 123abc' * '65' --- @@ -286,7 +286,7 @@ float(147.6) --- testing: ' 123abc' * '-7.7' --- float(-947.1) --- testing: ' 123abc' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: ' 123abc' * '123abc' --- int(15129) --- testing: ' 123abc' * '123e5' --- @@ -302,7 +302,7 @@ int(15129) --- testing: ' 123abc' * '3.4a' --- float(418.2) --- testing: ' 123abc' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '123 abc' * '0' --- int(0) --- testing: '123 abc' * '65' --- @@ -314,7 +314,7 @@ float(147.6) --- testing: '123 abc' * '-7.7' --- float(-947.1) --- testing: '123 abc' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '123 abc' * '123abc' --- int(15129) --- testing: '123 abc' * '123e5' --- @@ -330,7 +330,7 @@ int(15129) --- testing: '123 abc' * '3.4a' --- float(418.2) --- testing: '123 abc' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '123abc ' * '0' --- int(0) --- testing: '123abc ' * '65' --- @@ -342,7 +342,7 @@ float(147.6) --- testing: '123abc ' * '-7.7' --- float(-947.1) --- testing: '123abc ' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '123abc ' * '123abc' --- int(15129) --- testing: '123abc ' * '123e5' --- @@ -358,7 +358,7 @@ int(15129) --- testing: '123abc ' * '3.4a' --- float(418.2) --- testing: '123abc ' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '3.4a' * '0' --- float(0) --- testing: '3.4a' * '65' --- @@ -370,7 +370,7 @@ float(4.08) --- testing: '3.4a' * '-7.7' --- float(-26.18) --- testing: '3.4a' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: '3.4a' * '123abc' --- float(418.2) --- testing: '3.4a' * '123e5' --- @@ -386,32 +386,32 @@ float(418.2) --- testing: '3.4a' * '3.4a' --- float(11.559999999999999) --- testing: '3.4a' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * '0' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * '65' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * '-44' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * '1.2' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * '-7.7' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * 'abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * '123abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * '123e5' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * '123e5xyz' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * ' 123abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * '123 abc' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * '123abc ' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * '3.4a' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string --- testing: 'a5.9' * 'a5.9' --- -Unsupported operand types: string * string +Unsupported operand types: non-numeric string * non-numeric string diff --git a/tests/lang/operators/negate_variationStr.phpt b/tests/lang/operators/negate_variationStr.phpt index 43b2f6a52a60e..d643f4e8ba423 100644 --- a/tests/lang/operators/negate_variationStr.phpt +++ b/tests/lang/operators/negate_variationStr.phpt @@ -30,7 +30,7 @@ float(-1.2) --- testing: '-7.7' --- float(7.7) --- testing: 'abc' --- -Unsupported operand types: string * int +Unsupported operand types: non-numeric string * int --- testing: '123abc' --- Warning: A non-numeric value encountered in %s on line %d @@ -58,4 +58,4 @@ int(-123) Warning: A non-numeric value encountered in %s on line %d float(-3.4) --- testing: 'a5.9' --- -Unsupported operand types: string * int +Unsupported operand types: non-numeric string * int diff --git a/tests/lang/operators/subtract_variationStr.phpt b/tests/lang/operators/subtract_variationStr.phpt index 6df852498df19..7491f9631c86e 100644 --- a/tests/lang/operators/subtract_variationStr.phpt +++ b/tests/lang/operators/subtract_variationStr.phpt @@ -34,7 +34,7 @@ float(-1.2) --- testing: '0' - '-7.7' --- float(7.7) --- testing: '0' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '0' - '123abc' --- int(-123) --- testing: '0' - '123e5' --- @@ -50,7 +50,7 @@ int(-123) --- testing: '0' - '3.4a' --- float(-3.4) --- testing: '0' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '65' - '0' --- int(65) --- testing: '65' - '65' --- @@ -62,7 +62,7 @@ float(63.8) --- testing: '65' - '-7.7' --- float(72.7) --- testing: '65' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '65' - '123abc' --- int(-58) --- testing: '65' - '123e5' --- @@ -78,7 +78,7 @@ int(-58) --- testing: '65' - '3.4a' --- float(61.6) --- testing: '65' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '-44' - '0' --- int(-44) --- testing: '-44' - '65' --- @@ -90,7 +90,7 @@ float(-45.2) --- testing: '-44' - '-7.7' --- float(-36.3) --- testing: '-44' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '-44' - '123abc' --- int(-167) --- testing: '-44' - '123e5' --- @@ -106,7 +106,7 @@ int(-167) --- testing: '-44' - '3.4a' --- float(-47.4) --- testing: '-44' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '1.2' - '0' --- float(1.2) --- testing: '1.2' - '65' --- @@ -118,7 +118,7 @@ float(0) --- testing: '1.2' - '-7.7' --- float(8.9) --- testing: '1.2' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '1.2' - '123abc' --- float(-121.8) --- testing: '1.2' - '123e5' --- @@ -134,7 +134,7 @@ float(-121.8) --- testing: '1.2' - '3.4a' --- float(-2.2) --- testing: '1.2' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '-7.7' - '0' --- float(-7.7) --- testing: '-7.7' - '65' --- @@ -146,7 +146,7 @@ float(-8.9) --- testing: '-7.7' - '-7.7' --- float(0) --- testing: '-7.7' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '-7.7' - '123abc' --- float(-130.7) --- testing: '-7.7' - '123e5' --- @@ -162,35 +162,35 @@ float(-130.7) --- testing: '-7.7' - '3.4a' --- float(-11.1) --- testing: '-7.7' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - '0' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - '65' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - '-44' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - '1.2' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - '-7.7' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - '123abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - '123e5' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - '123e5xyz' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - ' 123abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - '123 abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - '123abc ' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - '3.4a' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'abc' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '123abc' - '0' --- int(123) --- testing: '123abc' - '65' --- @@ -202,7 +202,7 @@ float(121.8) --- testing: '123abc' - '-7.7' --- float(130.7) --- testing: '123abc' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '123abc' - '123abc' --- int(0) --- testing: '123abc' - '123e5' --- @@ -218,7 +218,7 @@ int(0) --- testing: '123abc' - '3.4a' --- float(119.6) --- testing: '123abc' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '123e5' - '0' --- float(12300000) --- testing: '123e5' - '65' --- @@ -230,7 +230,7 @@ float(12299998.8) --- testing: '123e5' - '-7.7' --- float(12300007.7) --- testing: '123e5' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '123e5' - '123abc' --- float(12299877) --- testing: '123e5' - '123e5' --- @@ -246,7 +246,7 @@ float(12299877) --- testing: '123e5' - '3.4a' --- float(12299996.6) --- testing: '123e5' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '123e5xyz' - '0' --- float(12300000) --- testing: '123e5xyz' - '65' --- @@ -258,7 +258,7 @@ float(12299998.8) --- testing: '123e5xyz' - '-7.7' --- float(12300007.7) --- testing: '123e5xyz' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '123e5xyz' - '123abc' --- float(12299877) --- testing: '123e5xyz' - '123e5' --- @@ -274,7 +274,7 @@ float(12299877) --- testing: '123e5xyz' - '3.4a' --- float(12299996.6) --- testing: '123e5xyz' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: ' 123abc' - '0' --- int(123) --- testing: ' 123abc' - '65' --- @@ -286,7 +286,7 @@ float(121.8) --- testing: ' 123abc' - '-7.7' --- float(130.7) --- testing: ' 123abc' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: ' 123abc' - '123abc' --- int(0) --- testing: ' 123abc' - '123e5' --- @@ -302,7 +302,7 @@ int(0) --- testing: ' 123abc' - '3.4a' --- float(119.6) --- testing: ' 123abc' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '123 abc' - '0' --- int(123) --- testing: '123 abc' - '65' --- @@ -314,7 +314,7 @@ float(121.8) --- testing: '123 abc' - '-7.7' --- float(130.7) --- testing: '123 abc' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '123 abc' - '123abc' --- int(0) --- testing: '123 abc' - '123e5' --- @@ -330,7 +330,7 @@ int(0) --- testing: '123 abc' - '3.4a' --- float(119.6) --- testing: '123 abc' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '123abc ' - '0' --- int(123) --- testing: '123abc ' - '65' --- @@ -342,7 +342,7 @@ float(121.8) --- testing: '123abc ' - '-7.7' --- float(130.7) --- testing: '123abc ' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '123abc ' - '123abc' --- int(0) --- testing: '123abc ' - '123e5' --- @@ -358,7 +358,7 @@ int(0) --- testing: '123abc ' - '3.4a' --- float(119.6) --- testing: '123abc ' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '3.4a' - '0' --- float(3.4) --- testing: '3.4a' - '65' --- @@ -370,7 +370,7 @@ float(2.2) --- testing: '3.4a' - '-7.7' --- float(11.1) --- testing: '3.4a' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: '3.4a' - '123abc' --- float(-119.6) --- testing: '3.4a' - '123e5' --- @@ -386,32 +386,32 @@ float(-119.6) --- testing: '3.4a' - '3.4a' --- float(0) --- testing: '3.4a' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - '0' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - '65' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - '-44' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - '1.2' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - '-7.7' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - 'abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - '123abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - '123e5' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - '123e5xyz' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - ' 123abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - '123 abc' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - '123abc ' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - '3.4a' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string --- testing: 'a5.9' - 'a5.9' --- -Unsupported operand types: string - string +Unsupported operand types: non-numeric string - non-numeric string From 37e97db12a639744e446a417826e45903576e0bb Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Wed, 3 Dec 2025 22:28:03 -0500 Subject: [PATCH 03/15] Update: Unit Test to php#20632 --- ext/pdo/tests/pdo_fetch_function_incorrect_call.phpt | 2 +- ext/zend_test/tests/zend_object_init_with_constructor.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pdo/tests/pdo_fetch_function_incorrect_call.phpt b/ext/pdo/tests/pdo_fetch_function_incorrect_call.phpt index 63c342b598f73..19d49342a4c71 100644 --- a/ext/pdo/tests/pdo_fetch_function_incorrect_call.phpt +++ b/ext/pdo/tests/pdo_fetch_function_incorrect_call.phpt @@ -47,4 +47,4 @@ PDOTest::dropTableIfExists($db, "pdo_fetch_function_incorrect_call"); ?> --EXPECT-- Fetch all with bogus call: -TypeError: bogusCallback(): Argument #1 ($obj) must be of type stdClass, string given +TypeError: bogusCallback(): Argument #1 ($obj) must be of type stdClass, non-numeric string given diff --git a/ext/zend_test/tests/zend_object_init_with_constructor.phpt b/ext/zend_test/tests/zend_object_init_with_constructor.phpt index 65b111447f0bf..1a433d33ec2e8 100644 --- a/ext/zend_test/tests/zend_object_init_with_constructor.phpt +++ b/ext/zend_test/tests/zend_object_init_with_constructor.phpt @@ -150,7 +150,7 @@ Error: Call to private PrivateUser::__construct() from global scope Exception: Don't construct Testing param passing ArgumentCountError: Too few arguments to function TestUserWithConstructorArgs::__construct(), 0 passed and exactly 2 expected -TypeError: TestUserWithConstructorArgs::__construct(): Argument #1 ($int_param) must be of type int, string given +TypeError: TestUserWithConstructorArgs::__construct(): Argument #1 ($int_param) must be of type int, non-numeric string given Error: Unknown named parameter $unused_param object(TestUserWithConstructorArgs)#1 (0) { } From e7e12e31a06f5fdc791b926060bd5dea5d2151ea Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Wed, 3 Dec 2025 22:55:18 -0500 Subject: [PATCH 04/15] Update: Unit Test to php#20632 --- .../type_declarations/scalar_strict.phpt | 28 +++++++++---------- ext/standard/tests/math/pow_variation1.phpt | 4 +-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Zend/tests/type_declarations/scalar_strict.phpt b/Zend/tests/type_declarations/scalar_strict.phpt index 626f322d8701f..0dff99999e149 100644 --- a/Zend/tests/type_declarations/scalar_strict.phpt +++ b/Zend/tests/type_declarations/scalar_strict.phpt @@ -84,10 +84,10 @@ int(2147483647) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d *** Trying bool(true) -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, true given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d *** Trying bool(false) -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, false given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d *** Trying NULL *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, null given, called in %s on line %d @@ -113,7 +113,7 @@ Testing 'float' type: float(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d *** Trying float(1) float(1) @@ -122,13 +122,13 @@ float(1) float(1.5) *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, empty string given, called in %s on line %d *** Trying int(2147483647) float(2147483647) @@ -137,10 +137,10 @@ float(2147483647) float(NAN) *** Trying bool(true) -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, true given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, bool given, called in %s on line %d *** Trying bool(false) -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, false given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, bool given, called in %s on line %d *** Trying NULL *** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, null given, called in %s on line %d @@ -190,10 +190,10 @@ string(0) "" *** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, float given, called in %s on line %d *** Trying bool(true) -*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, true given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d *** Trying bool(false) -*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, false given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d *** Trying NULL *** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, null given, called in %s on line %d @@ -219,7 +219,7 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d @@ -228,13 +228,13 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, empty string given, called in %s on line %d *** Trying int(2147483647) *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d diff --git a/ext/standard/tests/math/pow_variation1.phpt b/ext/standard/tests/math/pow_variation1.phpt index cdb876f034ad8..2cf4d0aa7fd42 100644 --- a/ext/standard/tests/math/pow_variation1.phpt +++ b/ext/standard/tests/math/pow_variation1.phpt @@ -80,9 +80,9 @@ float(0.125) int(0) int(1) int(0) -Unsupported operand types: string ** int +Unsupported operand types: empty string ** int Unsupported operand types: array ** int -Unsupported operand types: string ** int +Unsupported operand types: non-numeric string ** int float(166.375) int(8) float(0.000250047) From e0175a94bc9358b8324418803e92cf1bb048ac38 Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Wed, 3 Dec 2025 23:07:39 -0500 Subject: [PATCH 05/15] Update: Unit Test to php#20632 --- Zend/tests/type_declarations/scalar_strict.phpt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Zend/tests/type_declarations/scalar_strict.phpt b/Zend/tests/type_declarations/scalar_strict.phpt index 0dff99999e149..bc43e73ceb834 100644 --- a/Zend/tests/type_declarations/scalar_strict.phpt +++ b/Zend/tests/type_declarations/scalar_strict.phpt @@ -60,7 +60,7 @@ Testing 'int' type: int(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d @@ -69,13 +69,13 @@ int(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, empty string given, called in %s on line %d *** Trying int(2147483647) int(2147483647) From 1a0c4dd3e60cdd703c94ede43a731e7ed25c070d Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Wed, 3 Dec 2025 23:21:33 -0500 Subject: [PATCH 06/15] Update: Unit Test to php#20632 --- ext/phar/tests/extract/testit/existing.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 ext/phar/tests/extract/testit/existing.txt diff --git a/ext/phar/tests/extract/testit/existing.txt b/ext/phar/tests/extract/testit/existing.txt deleted file mode 100644 index 17843c7c94da8..0000000000000 --- a/ext/phar/tests/extract/testit/existing.txt +++ /dev/null @@ -1 +0,0 @@ -oops \ No newline at end of file From 7883185b106b7b477eb818b68944ad00bdfc95ba Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Thu, 4 Dec 2025 19:25:29 +0500 Subject: [PATCH 07/15] Update Zend/zend_API.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michael Voříšek --- Zend/zend_API.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index a0bbd03fd5afa..09041344942e6 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -159,10 +159,10 @@ ZEND_API const char *zend_zval_namaric_string_value_name(const zval *arg) if (Z_TYPE_P(val) == IS_STRING) { if (Z_STRLEN_P(val) == 0) { - return "empty string"; + return "empty-string"; } - return "non-numeric string"; + return "non-numeric-string"; } return zend_zval_type_name(val); From dd23d6a87b70353be0c40a3d782e4a70d7b65dee Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Thu, 4 Dec 2025 10:40:28 -0500 Subject: [PATCH 08/15] Update: Unit Test to php#20632 --- Zend/tests/add_006.phpt | 4 +- Zend/tests/add_007.phpt | 4 +- Zend/tests/arrow_functions/006.phpt | 4 +- Zend/tests/assign_op_type_error.phpt | 16 +- Zend/tests/attributes/030_strict_types.phpt | 2 +- Zend/tests/exceptions/exception_017.phpt | 2 +- Zend/tests/fibers/start-arguments.phpt | 2 +- .../first_class_callable_015.phpt | 2 +- ...ument_count_incorrect_userland_strict.phpt | 2 +- Zend/tests/gh19719.phpt | 2 +- .../non_numarix_string_operand_error.phpt | 12 +- ...c_string_must_generate_warning_assign.phpt | 28 +- ...numeric_strings_must_generate_warning.phpt | 32 +- Zend/tests/operator_unsupported_types.phpt | 1448 ++++++++--------- Zend/tests/pipe_operator/type_mismatch.phpt | 2 +- Zend/tests/self_and.phpt | 2 +- Zend/tests/self_mod.phpt | 2 +- Zend/tests/self_or.phpt | 2 +- Zend/tests/self_xor.phpt | 2 +- Zend/tests/shift_001.phpt | 2 +- Zend/tests/shift_002.phpt | 2 +- Zend/tests/traits/trait_type_errors.phpt | 4 +- .../literal_types/false_no_coercion.phpt | 2 +- .../literal_types/true_no_coercion.phpt | 2 +- .../tests/type_declarations/scalar_basic.phpt | 12 +- .../scalar_constant_defaults_error.phpt | 2 +- .../scalar_strict_64bit.phpt | 24 +- .../scalar_strict_basic.phpt | 6 +- .../union_types/type_checking_strict.phpt | 60 +- .../union_types/type_checking_weak.phpt | 18 +- ext/opcache/tests/jit/add_005.phpt | 2 +- ext/opcache/tests/jit/assign_dim_op_001.phpt | 2 +- ext/opcache/tests/jit/mul_005.phpt | 2 +- ext/opcache/tests/jit/mul_010.phpt | 2 +- .../pdo_fetch_function_incorrect_call.phpt | 2 +- .../tests/math/pow_variation1_64bit.phpt | 4 +- ext/standard/tests/math/pow_variation2.phpt | 4 +- .../zend_object_init_with_constructor.phpt | 2 +- tests/lang/bug28800.phpt | 12 +- tests/lang/operators/add_variationStr.phpt | 104 +- .../bitwiseShiftLeft_variationStr.phpt | 104 +- .../bitwiseShiftLeft_variationStr_64bit.phpt | 104 +- .../bitwiseShiftRight_variationStr.phpt | 104 +- tests/lang/operators/divide_variationStr.phpt | 104 +- .../lang/operators/modulus_variationStr.phpt | 104 +- .../lang/operators/multiply_variationStr.phpt | 104 +- tests/lang/operators/negate_variationStr.phpt | 4 +- .../lang/operators/subtract_variationStr.phpt | 104 +- 48 files changed, 1286 insertions(+), 1286 deletions(-) diff --git a/Zend/tests/add_006.phpt b/Zend/tests/add_006.phpt index 626c5a7928237..f122eada9f677 100644 --- a/Zend/tests/add_006.phpt +++ b/Zend/tests/add_006.phpt @@ -45,13 +45,13 @@ var_dump($c); echo "Done\n"; ?> --EXPECTF-- -Unsupported operand types: int + non-numeric string +Unsupported operand types: int + non-numeric-string Warning: A non-numeric value encountered in %s on line %d int(951858) int(48550510) float(75661.68) -Unsupported operand types: non-numeric string + int +Unsupported operand types: non-numeric-string + int Warning: A non-numeric value encountered in %s on line %d int(951858) diff --git a/Zend/tests/add_007.phpt b/Zend/tests/add_007.phpt index 34ea6520759e7..f1e057598264d 100644 --- a/Zend/tests/add_007.phpt +++ b/Zend/tests/add_007.phpt @@ -19,9 +19,9 @@ var_dump($c); echo "Done\n"; ?> --EXPECTF-- -Exception: Unsupported operand types: array + non-numeric string +Exception: Unsupported operand types: array + non-numeric-string -Fatal error: Uncaught TypeError: Unsupported operand types: array + non-numeric string in %s:%d +Fatal error: Uncaught TypeError: Unsupported operand types: array + non-numeric-string in %s:%d Stack trace: #0 {main} thrown in %s on line %d diff --git a/Zend/tests/arrow_functions/006.phpt b/Zend/tests/arrow_functions/006.phpt index 9609020ef9dee..4260aa7b82be5 100644 --- a/Zend/tests/arrow_functions/006.phpt +++ b/Zend/tests/arrow_functions/006.phpt @@ -32,7 +32,7 @@ try { --EXPECTF-- int(2) int(10) -{closure:%s:%d}(): Argument #1 ($x) must be of type int, non-numeric string given, called in %s on line %d +{closure:%s:%d}(): Argument #1 ($x) must be of type int, non-numeric-string given, called in %s on line %d array(3) { [0]=> int(20) @@ -41,4 +41,4 @@ array(3) { [2]=> int(30) } -{closure:%s:%d}(): Argument #2 must be of type ?int, non-numeric string given, called in %s on line %d +{closure:%s:%d}(): Argument #2 must be of type ?int, non-numeric-string given, called in %s on line %d diff --git a/Zend/tests/assign_op_type_error.phpt b/Zend/tests/assign_op_type_error.phpt index b06127095b612..9702d2aa1c08a 100644 --- a/Zend/tests/assign_op_type_error.phpt +++ b/Zend/tests/assign_op_type_error.phpt @@ -47,11 +47,11 @@ try { ?> --EXPECT-- -Unsupported operand types: array + non-numeric string -Unsupported operand types: array - non-numeric string -Unsupported operand types: array * non-numeric string -Unsupported operand types: array / non-numeric string -Unsupported operand types: array ** non-numeric string -Unsupported operand types: array % non-numeric string -Unsupported operand types: array << non-numeric string -Unsupported operand types: array >> non-numeric string +Unsupported operand types: array + non-numeric-string +Unsupported operand types: array - non-numeric-string +Unsupported operand types: array * non-numeric-string +Unsupported operand types: array / non-numeric-string +Unsupported operand types: array ** non-numeric-string +Unsupported operand types: array % non-numeric-string +Unsupported operand types: array << non-numeric-string +Unsupported operand types: array >> non-numeric-string diff --git a/Zend/tests/attributes/030_strict_types.phpt b/Zend/tests/attributes/030_strict_types.phpt index 5b70e57c34e80..2643e36c2c9d0 100644 --- a/Zend/tests/attributes/030_strict_types.phpt +++ b/Zend/tests/attributes/030_strict_types.phpt @@ -23,7 +23,7 @@ object(MyAttribute)#1 (1) { int(42) } -Fatal error: Uncaught TypeError: MyAttribute::__construct(): Argument #1 ($value) must be of type int, non-numeric string given, called in %s030_strict_types.inc on line 4 and defined in %s030_strict_types.php:5 +Fatal error: Uncaught TypeError: MyAttribute::__construct(): Argument #1 ($value) must be of type int, non-numeric-string given, called in %s030_strict_types.inc on line 4 and defined in %s030_strict_types.php:5 Stack trace: #0 %s030_strict_types.inc(4): MyAttribute->__construct('42') #1 %s(%d): ReflectionAttribute->newInstance() diff --git a/Zend/tests/exceptions/exception_017.phpt b/Zend/tests/exceptions/exception_017.phpt index 239518be6c0fb..f1629e1972186 100644 --- a/Zend/tests/exceptions/exception_017.phpt +++ b/Zend/tests/exceptions/exception_017.phpt @@ -28,7 +28,7 @@ Error: Cannot call abstract method C::foo() in %s:%d Stack trace: #0 {main} -TypeError: foo(): Argument #1 ($x) must be of type callable, non-numeric string given, called in %s:%d +TypeError: foo(): Argument #1 ($x) must be of type callable, non-numeric-string given, called in %s:%d Stack trace: #0 %s(%d): foo('C::foo') #1 {main} diff --git a/Zend/tests/fibers/start-arguments.phpt b/Zend/tests/fibers/start-arguments.phpt index ff5aa7d0d49c1..42b51b395a399 100644 --- a/Zend/tests/fibers/start-arguments.phpt +++ b/Zend/tests/fibers/start-arguments.phpt @@ -21,7 +21,7 @@ $fiber->start('test'); --EXPECTF-- int(1) -Fatal error: Uncaught TypeError: {closure:%s:%d}(): Argument #1 ($x) must be of type int, non-numeric string given in %s:%d +Fatal error: Uncaught TypeError: {closure:%s:%d}(): Argument #1 ($x) must be of type int, non-numeric-string given in %s:%d Stack trace: #0 [internal function]: {closure:%s:%d}('test') #1 %sstart-arguments.php(%d): Fiber->start('test') diff --git a/Zend/tests/first_class_callable/first_class_callable_015.phpt b/Zend/tests/first_class_callable/first_class_callable_015.phpt index 9e18991aa1f97..94836ded7c186 100644 --- a/Zend/tests/first_class_callable/first_class_callable_015.phpt +++ b/Zend/tests/first_class_callable/first_class_callable_015.phpt @@ -21,4 +21,4 @@ try { ?> --EXPECTF-- int(42) -test(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d +test(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d diff --git a/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt b/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt index 2e4293fb0113f..39074d49d9a8e 100644 --- a/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt +++ b/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt @@ -50,6 +50,6 @@ Too few arguments to function bar(), 1 passed in %s and exactly 2 expected ArgumentCountError Too few arguments to function bat(), 1 passed in %s and exactly 2 expected TypeError -bat(): Argument #1 ($foo) must be of type int, non-numeric string given, called in %s on line %d +bat(): Argument #1 ($foo) must be of type int, non-numeric-string given, called in %s on line %d TypeError bat(): Argument #2 ($bar) must be of type string, int given, called in %s on line %d diff --git a/Zend/tests/gh19719.phpt b/Zend/tests/gh19719.phpt index 793f5030e2544..e00e45b06914a 100644 --- a/Zend/tests/gh19719.phpt +++ b/Zend/tests/gh19719.phpt @@ -18,4 +18,4 @@ try { ?> --EXPECTF-- -takesInt(): Argument #1 ($x) must be of type int, non-numeric string given, called in %s on line %d +takesInt(): Argument #1 ($x) must be of type int, non-numeric-string given, called in %s on line %d diff --git a/Zend/tests/non_numarix_string_operand_error.phpt b/Zend/tests/non_numarix_string_operand_error.phpt index 7f30667899eb1..8c5063e23dacb 100644 --- a/Zend/tests/non_numarix_string_operand_error.phpt +++ b/Zend/tests/non_numarix_string_operand_error.phpt @@ -25,11 +25,11 @@ try { foo(""); } catch (TypeError $e) { echo msg($e), "\n"; } ===DONE=== --EXPECT-- int(2) -Unsupported operand types: int + non-numeric string -Unsupported operand types: int + empty string -Unsupported operand types: non-numeric string + int -Unsupported operand types: empty string + int +Unsupported operand types: int + non-numeric-string +Unsupported operand types: int + empty-string +Unsupported operand types: non-numeric-string + int +Unsupported operand types: empty-string + int 1 -foo(): Argument #1 ($a) must be of type int, non-numeric string given -foo(): Argument #1 ($a) must be of type int, empty string given +foo(): Argument #1 ($a) must be of type int, non-numeric-string given +foo(): Argument #1 ($a) must be of type int, empty-string given ===DONE=== diff --git a/Zend/tests/numeric_strings/invalid_numeric_string_must_generate_warning_assign.phpt b/Zend/tests/numeric_strings/invalid_numeric_string_must_generate_warning_assign.phpt index d9cf576b9419e..d5a2e5cc66902 100644 --- a/Zend/tests/numeric_strings/invalid_numeric_string_must_generate_warning_assign.phpt +++ b/Zend/tests/numeric_strings/invalid_numeric_string_must_generate_warning_assign.phpt @@ -164,49 +164,49 @@ Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(5) -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(-2) -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(143) -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d float(0.8947368421052632) -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d float(3.0910586430935376E+39) -Unsupported operand types: non-numeric string ** non-numeric string +Unsupported operand types: non-numeric-string ** non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(31) -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(%d) -Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: non-numeric-string << non-numeric-string string(4) "quis" --- @@ -214,7 +214,7 @@ Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(0) -Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: non-numeric-string >> non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d @@ -222,8 +222,8 @@ int(63) Warning: A non-numeric value encountered in %s on line %d int(71) -Unsupported operand types: non-numeric string | int -Unsupported operand types: int | non-numeric string +Unsupported operand types: non-numeric-string | int +Unsupported operand types: int | non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d @@ -231,8 +231,8 @@ int(81) Warning: A non-numeric value encountered in %s on line %d int(97) -Unsupported operand types: non-numeric string & int -Unsupported operand types: int & non-numeric string +Unsupported operand types: non-numeric-string & int +Unsupported operand types: int & non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d @@ -240,5 +240,5 @@ int(28) Warning: A non-numeric value encountered in %s on line %d int(252) -Unsupported operand types: non-numeric string ^ int -Unsupported operand types: int ^ non-numeric string +Unsupported operand types: non-numeric-string ^ int +Unsupported operand types: int ^ non-numeric-string diff --git a/Zend/tests/numeric_strings/invalid_numeric_strings_must_generate_warning.phpt b/Zend/tests/numeric_strings/invalid_numeric_strings_must_generate_warning.phpt index 281fc033492ca..e2dd2a9b915be 100644 --- a/Zend/tests/numeric_strings/invalid_numeric_strings_must_generate_warning.phpt +++ b/Zend/tests/numeric_strings/invalid_numeric_strings_must_generate_warning.phpt @@ -117,56 +117,56 @@ Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(5) -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(-2) -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(143) -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d float(0.8947368421052632) -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d float(3.0910586430935376E+39) -Unsupported operand types: non-numeric string ** non-numeric string +Unsupported operand types: non-numeric-string ** non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(31) -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(%d) -Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: non-numeric-string << non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d int(0) -Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: non-numeric-string >> non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d @@ -174,8 +174,8 @@ int(63) Warning: A non-numeric value encountered in %s on line %d int(71) -Unsupported operand types: non-numeric string | int -Unsupported operand types: int | non-numeric string +Unsupported operand types: non-numeric-string | int +Unsupported operand types: int | non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d @@ -183,8 +183,8 @@ int(81) Warning: A non-numeric value encountered in %s on line %d int(97) -Unsupported operand types: non-numeric string & int -Unsupported operand types: int & non-numeric string +Unsupported operand types: non-numeric-string & int +Unsupported operand types: int & non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d @@ -192,15 +192,15 @@ int(28) Warning: A non-numeric value encountered in %s on line %d int(252) -Unsupported operand types: non-numeric string ^ int -Unsupported operand types: int ^ non-numeric string +Unsupported operand types: non-numeric-string ^ int +Unsupported operand types: int ^ non-numeric-string --- Warning: A non-numeric value encountered in %s on line %d int(149) -Unsupported operand types: non-numeric string * int +Unsupported operand types: non-numeric-string * int --- Warning: A non-numeric value encountered in %s on line %d int(-151) -Unsupported operand types: non-numeric string * int +Unsupported operand types: non-numeric-string * int diff --git a/Zend/tests/operator_unsupported_types.phpt b/Zend/tests/operator_unsupported_types.phpt index ffd7b157e6d24..3269066911bb2 100644 --- a/Zend/tests/operator_unsupported_types.phpt +++ b/Zend/tests/operator_unsupported_types.phpt @@ -129,19 +129,19 @@ BINARY OP: No error for [] + [] Unsupported operand types: array + stdClass Unsupported operand types: array + resource -Unsupported operand types: array + non-numeric string +Unsupported operand types: array + non-numeric-string Unsupported operand types: stdClass + array Unsupported operand types: stdClass + stdClass Unsupported operand types: stdClass + resource -Unsupported operand types: stdClass + non-numeric string +Unsupported operand types: stdClass + non-numeric-string Unsupported operand types: resource + array Unsupported operand types: resource + stdClass Unsupported operand types: resource + resource -Unsupported operand types: resource + non-numeric string -Unsupported operand types: non-numeric string + array -Unsupported operand types: non-numeric string + stdClass -Unsupported operand types: non-numeric string + resource -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: resource + non-numeric-string +Unsupported operand types: non-numeric-string + array +Unsupported operand types: non-numeric-string + stdClass +Unsupported operand types: non-numeric-string + resource +Unsupported operand types: non-numeric-string + non-numeric-string Unsupported operand types: array + null Unsupported operand types: null + array Unsupported operand types: array + bool @@ -152,11 +152,11 @@ Unsupported operand types: array + int Unsupported operand types: int + array Unsupported operand types: array + float Unsupported operand types: float + array -Unsupported operand types: array + non-numeric string -Unsupported operand types: non-numeric string + array -Unsupported operand types: array + non-numeric string +Unsupported operand types: array + non-numeric-string +Unsupported operand types: non-numeric-string + array +Unsupported operand types: array + non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string + array +Unsupported operand types: non-numeric-string + array Unsupported operand types: stdClass + null Unsupported operand types: null + stdClass Unsupported operand types: stdClass + bool @@ -167,11 +167,11 @@ Unsupported operand types: stdClass + int Unsupported operand types: int + stdClass Unsupported operand types: stdClass + float Unsupported operand types: float + stdClass -Unsupported operand types: stdClass + non-numeric string -Unsupported operand types: non-numeric string + stdClass -Unsupported operand types: stdClass + non-numeric string +Unsupported operand types: stdClass + non-numeric-string +Unsupported operand types: non-numeric-string + stdClass +Unsupported operand types: stdClass + non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string + stdClass +Unsupported operand types: non-numeric-string + stdClass Unsupported operand types: resource + null Unsupported operand types: null + resource Unsupported operand types: resource + bool @@ -182,42 +182,42 @@ Unsupported operand types: resource + int Unsupported operand types: int + resource Unsupported operand types: resource + float Unsupported operand types: float + resource -Unsupported operand types: resource + non-numeric string -Unsupported operand types: non-numeric string + resource -Unsupported operand types: resource + non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string + resource -Unsupported operand types: non-numeric string + null -Unsupported operand types: null + non-numeric string -Unsupported operand types: non-numeric string + bool -Unsupported operand types: bool + non-numeric string -Unsupported operand types: non-numeric string + bool -Unsupported operand types: bool + non-numeric string -Unsupported operand types: non-numeric string + int -Unsupported operand types: int + non-numeric string -Unsupported operand types: non-numeric string + float -Unsupported operand types: float + non-numeric string -Unsupported operand types: non-numeric string + non-numeric string -Unsupported operand types: non-numeric string + non-numeric string -Unsupported operand types: non-numeric string + non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: resource + non-numeric-string +Unsupported operand types: non-numeric-string + resource +Unsupported operand types: resource + non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string + resource +Unsupported operand types: non-numeric-string + null +Unsupported operand types: null + non-numeric-string +Unsupported operand types: non-numeric-string + bool +Unsupported operand types: bool + non-numeric-string +Unsupported operand types: non-numeric-string + bool +Unsupported operand types: bool + non-numeric-string +Unsupported operand types: non-numeric-string + int +Unsupported operand types: int + non-numeric-string +Unsupported operand types: non-numeric-string + float +Unsupported operand types: float + non-numeric-string +Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string + non-numeric-string Unsupported operand types: array - array Unsupported operand types: array - stdClass Unsupported operand types: array - resource -Unsupported operand types: array - non-numeric string +Unsupported operand types: array - non-numeric-string Unsupported operand types: stdClass - array Unsupported operand types: stdClass - stdClass Unsupported operand types: stdClass - resource -Unsupported operand types: stdClass - non-numeric string +Unsupported operand types: stdClass - non-numeric-string Unsupported operand types: resource - array Unsupported operand types: resource - stdClass Unsupported operand types: resource - resource -Unsupported operand types: resource - non-numeric string -Unsupported operand types: non-numeric string - array -Unsupported operand types: non-numeric string - stdClass -Unsupported operand types: non-numeric string - resource -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: resource - non-numeric-string +Unsupported operand types: non-numeric-string - array +Unsupported operand types: non-numeric-string - stdClass +Unsupported operand types: non-numeric-string - resource +Unsupported operand types: non-numeric-string - non-numeric-string Unsupported operand types: array - null Unsupported operand types: null - array Unsupported operand types: array - bool @@ -228,11 +228,11 @@ Unsupported operand types: array - int Unsupported operand types: int - array Unsupported operand types: array - float Unsupported operand types: float - array -Unsupported operand types: array - non-numeric string -Unsupported operand types: non-numeric string - array -Unsupported operand types: array - non-numeric string +Unsupported operand types: array - non-numeric-string +Unsupported operand types: non-numeric-string - array +Unsupported operand types: array - non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string - array +Unsupported operand types: non-numeric-string - array Unsupported operand types: stdClass - null Unsupported operand types: null - stdClass Unsupported operand types: stdClass - bool @@ -243,11 +243,11 @@ Unsupported operand types: stdClass - int Unsupported operand types: int - stdClass Unsupported operand types: stdClass - float Unsupported operand types: float - stdClass -Unsupported operand types: stdClass - non-numeric string -Unsupported operand types: non-numeric string - stdClass -Unsupported operand types: stdClass - non-numeric string +Unsupported operand types: stdClass - non-numeric-string +Unsupported operand types: non-numeric-string - stdClass +Unsupported operand types: stdClass - non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string - stdClass +Unsupported operand types: non-numeric-string - stdClass Unsupported operand types: resource - null Unsupported operand types: null - resource Unsupported operand types: resource - bool @@ -258,42 +258,42 @@ Unsupported operand types: resource - int Unsupported operand types: int - resource Unsupported operand types: resource - float Unsupported operand types: float - resource -Unsupported operand types: resource - non-numeric string -Unsupported operand types: non-numeric string - resource -Unsupported operand types: resource - non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string - resource -Unsupported operand types: non-numeric string - null -Unsupported operand types: null - non-numeric string -Unsupported operand types: non-numeric string - bool -Unsupported operand types: bool - non-numeric string -Unsupported operand types: non-numeric string - bool -Unsupported operand types: bool - non-numeric string -Unsupported operand types: non-numeric string - int -Unsupported operand types: int - non-numeric string -Unsupported operand types: non-numeric string - float -Unsupported operand types: float - non-numeric string -Unsupported operand types: non-numeric string - non-numeric string -Unsupported operand types: non-numeric string - non-numeric string -Unsupported operand types: non-numeric string - non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: resource - non-numeric-string +Unsupported operand types: non-numeric-string - resource +Unsupported operand types: resource - non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string - resource +Unsupported operand types: non-numeric-string - null +Unsupported operand types: null - non-numeric-string +Unsupported operand types: non-numeric-string - bool +Unsupported operand types: bool - non-numeric-string +Unsupported operand types: non-numeric-string - bool +Unsupported operand types: bool - non-numeric-string +Unsupported operand types: non-numeric-string - int +Unsupported operand types: int - non-numeric-string +Unsupported operand types: non-numeric-string - float +Unsupported operand types: float - non-numeric-string +Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string - non-numeric-string Unsupported operand types: array * array Unsupported operand types: stdClass * array Unsupported operand types: resource * array -Unsupported operand types: array * non-numeric string +Unsupported operand types: array * non-numeric-string Unsupported operand types: stdClass * array Unsupported operand types: stdClass * stdClass Unsupported operand types: stdClass * resource -Unsupported operand types: stdClass * non-numeric string +Unsupported operand types: stdClass * non-numeric-string Unsupported operand types: resource * array Unsupported operand types: stdClass * resource Unsupported operand types: resource * resource -Unsupported operand types: resource * non-numeric string -Unsupported operand types: non-numeric string * array -Unsupported operand types: stdClass * non-numeric string -Unsupported operand types: resource * non-numeric string -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: resource * non-numeric-string +Unsupported operand types: non-numeric-string * array +Unsupported operand types: stdClass * non-numeric-string +Unsupported operand types: resource * non-numeric-string +Unsupported operand types: non-numeric-string * non-numeric-string Unsupported operand types: array * null Unsupported operand types: null * array Unsupported operand types: array * bool @@ -304,11 +304,11 @@ Unsupported operand types: array * int Unsupported operand types: int * array Unsupported operand types: array * float Unsupported operand types: float * array -Unsupported operand types: array * non-numeric string -Unsupported operand types: non-numeric string * array -Unsupported operand types: array * non-numeric string +Unsupported operand types: array * non-numeric-string +Unsupported operand types: non-numeric-string * array +Unsupported operand types: array * non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string * array +Unsupported operand types: non-numeric-string * array Unsupported operand types: stdClass * null Unsupported operand types: stdClass * null Unsupported operand types: stdClass * bool @@ -319,10 +319,10 @@ Unsupported operand types: stdClass * int Unsupported operand types: stdClass * int Unsupported operand types: stdClass * float Unsupported operand types: stdClass * float -Unsupported operand types: stdClass * non-numeric string -Unsupported operand types: stdClass * non-numeric string -Unsupported operand types: stdClass * non-numeric string -Unsupported operand types: stdClass * non-numeric string +Unsupported operand types: stdClass * non-numeric-string +Unsupported operand types: stdClass * non-numeric-string +Unsupported operand types: stdClass * non-numeric-string +Unsupported operand types: stdClass * non-numeric-string Unsupported operand types: resource * null Unsupported operand types: resource * null Unsupported operand types: resource * bool @@ -333,41 +333,41 @@ Unsupported operand types: resource * int Unsupported operand types: resource * int Unsupported operand types: resource * float Unsupported operand types: resource * float -Unsupported operand types: resource * non-numeric string -Unsupported operand types: resource * non-numeric string -Unsupported operand types: resource * non-numeric string -Unsupported operand types: resource * non-numeric string -Unsupported operand types: non-numeric string * null -Unsupported operand types: null * non-numeric string -Unsupported operand types: non-numeric string * bool -Unsupported operand types: bool * non-numeric string -Unsupported operand types: non-numeric string * bool -Unsupported operand types: bool * non-numeric string -Unsupported operand types: non-numeric string * int -Unsupported operand types: int * non-numeric string -Unsupported operand types: non-numeric string * float -Unsupported operand types: float * non-numeric string -Unsupported operand types: non-numeric string * non-numeric string -Unsupported operand types: non-numeric string * non-numeric string -Unsupported operand types: non-numeric string * non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: resource * non-numeric-string +Unsupported operand types: resource * non-numeric-string +Unsupported operand types: resource * non-numeric-string +Unsupported operand types: resource * non-numeric-string +Unsupported operand types: non-numeric-string * null +Unsupported operand types: null * non-numeric-string +Unsupported operand types: non-numeric-string * bool +Unsupported operand types: bool * non-numeric-string +Unsupported operand types: non-numeric-string * bool +Unsupported operand types: bool * non-numeric-string +Unsupported operand types: non-numeric-string * int +Unsupported operand types: int * non-numeric-string +Unsupported operand types: non-numeric-string * float +Unsupported operand types: float * non-numeric-string +Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string * non-numeric-string Unsupported operand types: array / array Unsupported operand types: array / stdClass Unsupported operand types: array / resource -Unsupported operand types: array / non-numeric string +Unsupported operand types: array / non-numeric-string Unsupported operand types: stdClass / array Unsupported operand types: stdClass / stdClass Unsupported operand types: stdClass / resource -Unsupported operand types: stdClass / non-numeric string +Unsupported operand types: stdClass / non-numeric-string Unsupported operand types: resource / array Unsupported operand types: resource / stdClass Unsupported operand types: resource / resource -Unsupported operand types: resource / non-numeric string -Unsupported operand types: non-numeric string / array -Unsupported operand types: non-numeric string / stdClass -Unsupported operand types: non-numeric string / resource -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: resource / non-numeric-string +Unsupported operand types: non-numeric-string / array +Unsupported operand types: non-numeric-string / stdClass +Unsupported operand types: non-numeric-string / resource +Unsupported operand types: non-numeric-string / non-numeric-string Unsupported operand types: array / null Unsupported operand types: null / array Unsupported operand types: array / bool @@ -378,11 +378,11 @@ Unsupported operand types: array / int Unsupported operand types: int / array Unsupported operand types: array / float Unsupported operand types: float / array -Unsupported operand types: array / non-numeric string -Unsupported operand types: non-numeric string / array -Unsupported operand types: array / non-numeric string +Unsupported operand types: array / non-numeric-string +Unsupported operand types: non-numeric-string / array +Unsupported operand types: array / non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string / array +Unsupported operand types: non-numeric-string / array Unsupported operand types: stdClass / null Unsupported operand types: null / stdClass Unsupported operand types: stdClass / bool @@ -393,11 +393,11 @@ Unsupported operand types: stdClass / int Unsupported operand types: int / stdClass Unsupported operand types: stdClass / float Unsupported operand types: float / stdClass -Unsupported operand types: stdClass / non-numeric string -Unsupported operand types: non-numeric string / stdClass -Unsupported operand types: stdClass / non-numeric string +Unsupported operand types: stdClass / non-numeric-string +Unsupported operand types: non-numeric-string / stdClass +Unsupported operand types: stdClass / non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string / stdClass +Unsupported operand types: non-numeric-string / stdClass Unsupported operand types: resource / null Unsupported operand types: null / resource Unsupported operand types: resource / bool @@ -408,42 +408,42 @@ Unsupported operand types: resource / int Unsupported operand types: int / resource Unsupported operand types: resource / float Unsupported operand types: float / resource -Unsupported operand types: resource / non-numeric string -Unsupported operand types: non-numeric string / resource -Unsupported operand types: resource / non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string / resource -Unsupported operand types: non-numeric string / null -Unsupported operand types: null / non-numeric string -Unsupported operand types: non-numeric string / bool -Unsupported operand types: bool / non-numeric string -Unsupported operand types: non-numeric string / bool -Unsupported operand types: bool / non-numeric string -Unsupported operand types: non-numeric string / int -Unsupported operand types: int / non-numeric string -Unsupported operand types: non-numeric string / float -Unsupported operand types: float / non-numeric string -Unsupported operand types: non-numeric string / non-numeric string -Unsupported operand types: non-numeric string / non-numeric string -Unsupported operand types: non-numeric string / non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: resource / non-numeric-string +Unsupported operand types: non-numeric-string / resource +Unsupported operand types: resource / non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string / resource +Unsupported operand types: non-numeric-string / null +Unsupported operand types: null / non-numeric-string +Unsupported operand types: non-numeric-string / bool +Unsupported operand types: bool / non-numeric-string +Unsupported operand types: non-numeric-string / bool +Unsupported operand types: bool / non-numeric-string +Unsupported operand types: non-numeric-string / int +Unsupported operand types: int / non-numeric-string +Unsupported operand types: non-numeric-string / float +Unsupported operand types: float / non-numeric-string +Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string / non-numeric-string Unsupported operand types: array % array Unsupported operand types: array % stdClass Unsupported operand types: array % resource -Unsupported operand types: array % non-numeric string +Unsupported operand types: array % non-numeric-string Unsupported operand types: stdClass % array Unsupported operand types: stdClass % stdClass Unsupported operand types: stdClass % resource -Unsupported operand types: stdClass % non-numeric string +Unsupported operand types: stdClass % non-numeric-string Unsupported operand types: resource % array Unsupported operand types: resource % stdClass Unsupported operand types: resource % resource -Unsupported operand types: resource % non-numeric string -Unsupported operand types: non-numeric string % array -Unsupported operand types: non-numeric string % stdClass -Unsupported operand types: non-numeric string % resource -Unsupported operand types: non-numeric string % non-numeric string +Unsupported operand types: resource % non-numeric-string +Unsupported operand types: non-numeric-string % array +Unsupported operand types: non-numeric-string % stdClass +Unsupported operand types: non-numeric-string % resource +Unsupported operand types: non-numeric-string % non-numeric-string Unsupported operand types: array % null Unsupported operand types: null % array Unsupported operand types: array % bool @@ -455,11 +455,11 @@ Unsupported operand types: int % array Unsupported operand types: array % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % array -Unsupported operand types: array % non-numeric string -Unsupported operand types: non-numeric string % array -Unsupported operand types: array % non-numeric string +Unsupported operand types: array % non-numeric-string +Unsupported operand types: non-numeric-string % array +Unsupported operand types: array % non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string % array +Unsupported operand types: non-numeric-string % array Unsupported operand types: stdClass % null Unsupported operand types: null % stdClass Unsupported operand types: stdClass % bool @@ -471,11 +471,11 @@ Unsupported operand types: int % stdClass Unsupported operand types: stdClass % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % stdClass -Unsupported operand types: stdClass % non-numeric string -Unsupported operand types: non-numeric string % stdClass -Unsupported operand types: stdClass % non-numeric string +Unsupported operand types: stdClass % non-numeric-string +Unsupported operand types: non-numeric-string % stdClass +Unsupported operand types: stdClass % non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string % stdClass +Unsupported operand types: non-numeric-string % stdClass Unsupported operand types: resource % null Unsupported operand types: null % resource Unsupported operand types: resource % bool @@ -487,43 +487,43 @@ Unsupported operand types: int % resource Unsupported operand types: resource % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % resource -Unsupported operand types: resource % non-numeric string -Unsupported operand types: non-numeric string % resource -Unsupported operand types: resource % non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string % resource -Unsupported operand types: non-numeric string % null -Unsupported operand types: null % non-numeric string -Unsupported operand types: non-numeric string % bool -Unsupported operand types: bool % non-numeric string -Unsupported operand types: non-numeric string % bool -Unsupported operand types: bool % non-numeric string -Unsupported operand types: non-numeric string % int -Unsupported operand types: int % non-numeric string -Unsupported operand types: non-numeric string % float +Unsupported operand types: resource % non-numeric-string +Unsupported operand types: non-numeric-string % resource +Unsupported operand types: resource % non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string % resource +Unsupported operand types: non-numeric-string % null +Unsupported operand types: null % non-numeric-string +Unsupported operand types: non-numeric-string % bool +Unsupported operand types: bool % non-numeric-string +Unsupported operand types: non-numeric-string % bool +Unsupported operand types: bool % non-numeric-string +Unsupported operand types: non-numeric-string % int +Unsupported operand types: int % non-numeric-string +Unsupported operand types: non-numeric-string % float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float % non-numeric string -Unsupported operand types: non-numeric string % non-numeric string -Unsupported operand types: non-numeric string % non-numeric string -Unsupported operand types: non-numeric string % non-numeric string +Unsupported operand types: float % non-numeric-string +Unsupported operand types: non-numeric-string % non-numeric-string +Unsupported operand types: non-numeric-string % non-numeric-string +Unsupported operand types: non-numeric-string % non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string % non-numeric string +Unsupported operand types: non-numeric-string % non-numeric-string Unsupported operand types: array ** array Unsupported operand types: array ** stdClass Unsupported operand types: array ** resource -Unsupported operand types: array ** non-numeric string +Unsupported operand types: array ** non-numeric-string Unsupported operand types: stdClass ** array Unsupported operand types: stdClass ** stdClass Unsupported operand types: stdClass ** resource -Unsupported operand types: stdClass ** non-numeric string +Unsupported operand types: stdClass ** non-numeric-string Unsupported operand types: resource ** array Unsupported operand types: resource ** stdClass Unsupported operand types: resource ** resource -Unsupported operand types: resource ** non-numeric string -Unsupported operand types: non-numeric string ** array -Unsupported operand types: non-numeric string ** stdClass -Unsupported operand types: non-numeric string ** resource -Unsupported operand types: non-numeric string ** non-numeric string +Unsupported operand types: resource ** non-numeric-string +Unsupported operand types: non-numeric-string ** array +Unsupported operand types: non-numeric-string ** stdClass +Unsupported operand types: non-numeric-string ** resource +Unsupported operand types: non-numeric-string ** non-numeric-string Unsupported operand types: array ** null Unsupported operand types: null ** array Unsupported operand types: array ** bool @@ -534,11 +534,11 @@ Unsupported operand types: array ** int Unsupported operand types: int ** array Unsupported operand types: array ** float Unsupported operand types: float ** array -Unsupported operand types: array ** non-numeric string -Unsupported operand types: non-numeric string ** array -Unsupported operand types: array ** non-numeric string +Unsupported operand types: array ** non-numeric-string +Unsupported operand types: non-numeric-string ** array +Unsupported operand types: array ** non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ** array +Unsupported operand types: non-numeric-string ** array Unsupported operand types: stdClass ** null Unsupported operand types: null ** stdClass Unsupported operand types: stdClass ** bool @@ -549,11 +549,11 @@ Unsupported operand types: stdClass ** int Unsupported operand types: int ** stdClass Unsupported operand types: stdClass ** float Unsupported operand types: float ** stdClass -Unsupported operand types: stdClass ** non-numeric string -Unsupported operand types: non-numeric string ** stdClass -Unsupported operand types: stdClass ** non-numeric string +Unsupported operand types: stdClass ** non-numeric-string +Unsupported operand types: non-numeric-string ** stdClass +Unsupported operand types: stdClass ** non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ** stdClass +Unsupported operand types: non-numeric-string ** stdClass Unsupported operand types: resource ** null Unsupported operand types: null ** resource Unsupported operand types: resource ** bool @@ -564,42 +564,42 @@ Unsupported operand types: resource ** int Unsupported operand types: int ** resource Unsupported operand types: resource ** float Unsupported operand types: float ** resource -Unsupported operand types: resource ** non-numeric string -Unsupported operand types: non-numeric string ** resource -Unsupported operand types: resource ** non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ** resource -Unsupported operand types: non-numeric string ** null -Unsupported operand types: null ** non-numeric string -Unsupported operand types: non-numeric string ** bool -Unsupported operand types: bool ** non-numeric string -Unsupported operand types: non-numeric string ** bool -Unsupported operand types: bool ** non-numeric string -Unsupported operand types: non-numeric string ** int -Unsupported operand types: int ** non-numeric string -Unsupported operand types: non-numeric string ** float -Unsupported operand types: float ** non-numeric string -Unsupported operand types: non-numeric string ** non-numeric string -Unsupported operand types: non-numeric string ** non-numeric string -Unsupported operand types: non-numeric string ** non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ** non-numeric string +Unsupported operand types: resource ** non-numeric-string +Unsupported operand types: non-numeric-string ** resource +Unsupported operand types: resource ** non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string ** resource +Unsupported operand types: non-numeric-string ** null +Unsupported operand types: null ** non-numeric-string +Unsupported operand types: non-numeric-string ** bool +Unsupported operand types: bool ** non-numeric-string +Unsupported operand types: non-numeric-string ** bool +Unsupported operand types: bool ** non-numeric-string +Unsupported operand types: non-numeric-string ** int +Unsupported operand types: int ** non-numeric-string +Unsupported operand types: non-numeric-string ** float +Unsupported operand types: float ** non-numeric-string +Unsupported operand types: non-numeric-string ** non-numeric-string +Unsupported operand types: non-numeric-string ** non-numeric-string +Unsupported operand types: non-numeric-string ** non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string ** non-numeric-string Unsupported operand types: array << array Unsupported operand types: array << stdClass Unsupported operand types: array << resource -Unsupported operand types: array << non-numeric string +Unsupported operand types: array << non-numeric-string Unsupported operand types: stdClass << array Unsupported operand types: stdClass << stdClass Unsupported operand types: stdClass << resource -Unsupported operand types: stdClass << non-numeric string +Unsupported operand types: stdClass << non-numeric-string Unsupported operand types: resource << array Unsupported operand types: resource << stdClass Unsupported operand types: resource << resource -Unsupported operand types: resource << non-numeric string -Unsupported operand types: non-numeric string << array -Unsupported operand types: non-numeric string << stdClass -Unsupported operand types: non-numeric string << resource -Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: resource << non-numeric-string +Unsupported operand types: non-numeric-string << array +Unsupported operand types: non-numeric-string << stdClass +Unsupported operand types: non-numeric-string << resource +Unsupported operand types: non-numeric-string << non-numeric-string Unsupported operand types: array << null Unsupported operand types: null << array Unsupported operand types: array << bool @@ -611,11 +611,11 @@ Unsupported operand types: int << array Unsupported operand types: array << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << array -Unsupported operand types: array << non-numeric string -Unsupported operand types: non-numeric string << array -Unsupported operand types: array << non-numeric string +Unsupported operand types: array << non-numeric-string +Unsupported operand types: non-numeric-string << array +Unsupported operand types: array << non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string << array +Unsupported operand types: non-numeric-string << array Unsupported operand types: stdClass << null Unsupported operand types: null << stdClass Unsupported operand types: stdClass << bool @@ -627,11 +627,11 @@ Unsupported operand types: int << stdClass Unsupported operand types: stdClass << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << stdClass -Unsupported operand types: stdClass << non-numeric string -Unsupported operand types: non-numeric string << stdClass -Unsupported operand types: stdClass << non-numeric string +Unsupported operand types: stdClass << non-numeric-string +Unsupported operand types: non-numeric-string << stdClass +Unsupported operand types: stdClass << non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string << stdClass +Unsupported operand types: non-numeric-string << stdClass Unsupported operand types: resource << null Unsupported operand types: null << resource Unsupported operand types: resource << bool @@ -643,43 +643,43 @@ Unsupported operand types: int << resource Unsupported operand types: resource << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << resource -Unsupported operand types: resource << non-numeric string -Unsupported operand types: non-numeric string << resource -Unsupported operand types: resource << non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string << resource -Unsupported operand types: non-numeric string << null -Unsupported operand types: null << non-numeric string -Unsupported operand types: non-numeric string << bool -Unsupported operand types: bool << non-numeric string -Unsupported operand types: non-numeric string << bool -Unsupported operand types: bool << non-numeric string -Unsupported operand types: non-numeric string << int -Unsupported operand types: int << non-numeric string -Unsupported operand types: non-numeric string << float +Unsupported operand types: resource << non-numeric-string +Unsupported operand types: non-numeric-string << resource +Unsupported operand types: resource << non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string << resource +Unsupported operand types: non-numeric-string << null +Unsupported operand types: null << non-numeric-string +Unsupported operand types: non-numeric-string << bool +Unsupported operand types: bool << non-numeric-string +Unsupported operand types: non-numeric-string << bool +Unsupported operand types: bool << non-numeric-string +Unsupported operand types: non-numeric-string << int +Unsupported operand types: int << non-numeric-string +Unsupported operand types: non-numeric-string << float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float << non-numeric string -Unsupported operand types: non-numeric string << non-numeric string -Unsupported operand types: non-numeric string << non-numeric string -Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: float << non-numeric-string +Unsupported operand types: non-numeric-string << non-numeric-string +Unsupported operand types: non-numeric-string << non-numeric-string +Unsupported operand types: non-numeric-string << non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: non-numeric-string << non-numeric-string Unsupported operand types: array >> array Unsupported operand types: array >> stdClass Unsupported operand types: array >> resource -Unsupported operand types: array >> non-numeric string +Unsupported operand types: array >> non-numeric-string Unsupported operand types: stdClass >> array Unsupported operand types: stdClass >> stdClass Unsupported operand types: stdClass >> resource -Unsupported operand types: stdClass >> non-numeric string +Unsupported operand types: stdClass >> non-numeric-string Unsupported operand types: resource >> array Unsupported operand types: resource >> stdClass Unsupported operand types: resource >> resource -Unsupported operand types: resource >> non-numeric string -Unsupported operand types: non-numeric string >> array -Unsupported operand types: non-numeric string >> stdClass -Unsupported operand types: non-numeric string >> resource -Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: resource >> non-numeric-string +Unsupported operand types: non-numeric-string >> array +Unsupported operand types: non-numeric-string >> stdClass +Unsupported operand types: non-numeric-string >> resource +Unsupported operand types: non-numeric-string >> non-numeric-string Unsupported operand types: array >> null Unsupported operand types: null >> array Unsupported operand types: array >> bool @@ -691,11 +691,11 @@ Unsupported operand types: int >> array Unsupported operand types: array >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> array -Unsupported operand types: array >> non-numeric string -Unsupported operand types: non-numeric string >> array -Unsupported operand types: array >> non-numeric string +Unsupported operand types: array >> non-numeric-string +Unsupported operand types: non-numeric-string >> array +Unsupported operand types: array >> non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string >> array +Unsupported operand types: non-numeric-string >> array Unsupported operand types: stdClass >> null Unsupported operand types: null >> stdClass Unsupported operand types: stdClass >> bool @@ -707,11 +707,11 @@ Unsupported operand types: int >> stdClass Unsupported operand types: stdClass >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> stdClass -Unsupported operand types: stdClass >> non-numeric string -Unsupported operand types: non-numeric string >> stdClass -Unsupported operand types: stdClass >> non-numeric string +Unsupported operand types: stdClass >> non-numeric-string +Unsupported operand types: non-numeric-string >> stdClass +Unsupported operand types: stdClass >> non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string >> stdClass +Unsupported operand types: non-numeric-string >> stdClass Unsupported operand types: resource >> null Unsupported operand types: null >> resource Unsupported operand types: resource >> bool @@ -723,42 +723,42 @@ Unsupported operand types: int >> resource Unsupported operand types: resource >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> resource -Unsupported operand types: resource >> non-numeric string -Unsupported operand types: non-numeric string >> resource -Unsupported operand types: resource >> non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string >> resource -Unsupported operand types: non-numeric string >> null -Unsupported operand types: null >> non-numeric string -Unsupported operand types: non-numeric string >> bool -Unsupported operand types: bool >> non-numeric string -Unsupported operand types: non-numeric string >> bool -Unsupported operand types: bool >> non-numeric string -Unsupported operand types: non-numeric string >> int -Unsupported operand types: int >> non-numeric string -Unsupported operand types: non-numeric string >> float +Unsupported operand types: resource >> non-numeric-string +Unsupported operand types: non-numeric-string >> resource +Unsupported operand types: resource >> non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string >> resource +Unsupported operand types: non-numeric-string >> null +Unsupported operand types: null >> non-numeric-string +Unsupported operand types: non-numeric-string >> bool +Unsupported operand types: bool >> non-numeric-string +Unsupported operand types: non-numeric-string >> bool +Unsupported operand types: bool >> non-numeric-string +Unsupported operand types: non-numeric-string >> int +Unsupported operand types: int >> non-numeric-string +Unsupported operand types: non-numeric-string >> float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float >> non-numeric string -Unsupported operand types: non-numeric string >> non-numeric string -Unsupported operand types: non-numeric string >> non-numeric string -Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: float >> non-numeric-string +Unsupported operand types: non-numeric-string >> non-numeric-string +Unsupported operand types: non-numeric-string >> non-numeric-string +Unsupported operand types: non-numeric-string >> non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: non-numeric-string >> non-numeric-string Unsupported operand types: array & array Unsupported operand types: stdClass & array Unsupported operand types: resource & array -Unsupported operand types: array & non-numeric string +Unsupported operand types: array & non-numeric-string Unsupported operand types: stdClass & array Unsupported operand types: stdClass & stdClass Unsupported operand types: stdClass & resource -Unsupported operand types: stdClass & non-numeric string +Unsupported operand types: stdClass & non-numeric-string Unsupported operand types: resource & array Unsupported operand types: stdClass & resource Unsupported operand types: resource & resource -Unsupported operand types: resource & non-numeric string -Unsupported operand types: non-numeric string & array -Unsupported operand types: stdClass & non-numeric string -Unsupported operand types: resource & non-numeric string +Unsupported operand types: resource & non-numeric-string +Unsupported operand types: non-numeric-string & array +Unsupported operand types: stdClass & non-numeric-string +Unsupported operand types: resource & non-numeric-string No error for "foo" & "foo" Unsupported operand types: array & null Unsupported operand types: null & array @@ -771,11 +771,11 @@ Unsupported operand types: int & array Unsupported operand types: array & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & array -Unsupported operand types: array & non-numeric string -Unsupported operand types: non-numeric string & array -Unsupported operand types: array & non-numeric string +Unsupported operand types: array & non-numeric-string +Unsupported operand types: non-numeric-string & array +Unsupported operand types: array & non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string & array +Unsupported operand types: non-numeric-string & array Unsupported operand types: stdClass & null Unsupported operand types: stdClass & null Unsupported operand types: stdClass & bool @@ -786,10 +786,10 @@ Unsupported operand types: stdClass & int Unsupported operand types: stdClass & int Unsupported operand types: stdClass & float Unsupported operand types: stdClass & float -Unsupported operand types: stdClass & non-numeric string -Unsupported operand types: stdClass & non-numeric string -Unsupported operand types: stdClass & non-numeric string -Unsupported operand types: stdClass & non-numeric string +Unsupported operand types: stdClass & non-numeric-string +Unsupported operand types: stdClass & non-numeric-string +Unsupported operand types: stdClass & non-numeric-string +Unsupported operand types: stdClass & non-numeric-string Unsupported operand types: resource & null Unsupported operand types: resource & null Unsupported operand types: resource & bool @@ -800,21 +800,21 @@ Unsupported operand types: resource & int Unsupported operand types: resource & int Unsupported operand types: resource & float Unsupported operand types: resource & float -Unsupported operand types: resource & non-numeric string -Unsupported operand types: resource & non-numeric string -Unsupported operand types: resource & non-numeric string -Unsupported operand types: resource & non-numeric string -Unsupported operand types: non-numeric string & null -Unsupported operand types: null & non-numeric string -Unsupported operand types: non-numeric string & bool -Unsupported operand types: bool & non-numeric string -Unsupported operand types: non-numeric string & bool -Unsupported operand types: bool & non-numeric string -Unsupported operand types: non-numeric string & int -Unsupported operand types: int & non-numeric string -Unsupported operand types: non-numeric string & float +Unsupported operand types: resource & non-numeric-string +Unsupported operand types: resource & non-numeric-string +Unsupported operand types: resource & non-numeric-string +Unsupported operand types: resource & non-numeric-string +Unsupported operand types: non-numeric-string & null +Unsupported operand types: null & non-numeric-string +Unsupported operand types: non-numeric-string & bool +Unsupported operand types: bool & non-numeric-string +Unsupported operand types: non-numeric-string & bool +Unsupported operand types: bool & non-numeric-string +Unsupported operand types: non-numeric-string & int +Unsupported operand types: int & non-numeric-string +Unsupported operand types: non-numeric-string & float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float & non-numeric string +Unsupported operand types: float & non-numeric-string No error for "foo" & "123" No error for "123" & "foo" No error for "foo" & "123foo" @@ -822,18 +822,18 @@ No error for "123foo" & "foo" Unsupported operand types: array | array Unsupported operand types: stdClass | array Unsupported operand types: resource | array -Unsupported operand types: array | non-numeric string +Unsupported operand types: array | non-numeric-string Unsupported operand types: stdClass | array Unsupported operand types: stdClass | stdClass Unsupported operand types: stdClass | resource -Unsupported operand types: stdClass | non-numeric string +Unsupported operand types: stdClass | non-numeric-string Unsupported operand types: resource | array Unsupported operand types: stdClass | resource Unsupported operand types: resource | resource -Unsupported operand types: resource | non-numeric string -Unsupported operand types: non-numeric string | array -Unsupported operand types: stdClass | non-numeric string -Unsupported operand types: resource | non-numeric string +Unsupported operand types: resource | non-numeric-string +Unsupported operand types: non-numeric-string | array +Unsupported operand types: stdClass | non-numeric-string +Unsupported operand types: resource | non-numeric-string No error for "foo" | "foo" Unsupported operand types: array | null Unsupported operand types: null | array @@ -846,11 +846,11 @@ Unsupported operand types: int | array Unsupported operand types: array | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | array -Unsupported operand types: array | non-numeric string -Unsupported operand types: non-numeric string | array -Unsupported operand types: array | non-numeric string +Unsupported operand types: array | non-numeric-string +Unsupported operand types: non-numeric-string | array +Unsupported operand types: array | non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string | array +Unsupported operand types: non-numeric-string | array Unsupported operand types: stdClass | null Unsupported operand types: stdClass | null Unsupported operand types: stdClass | bool @@ -861,10 +861,10 @@ Unsupported operand types: stdClass | int Unsupported operand types: stdClass | int Unsupported operand types: stdClass | float Unsupported operand types: stdClass | float -Unsupported operand types: stdClass | non-numeric string -Unsupported operand types: stdClass | non-numeric string -Unsupported operand types: stdClass | non-numeric string -Unsupported operand types: stdClass | non-numeric string +Unsupported operand types: stdClass | non-numeric-string +Unsupported operand types: stdClass | non-numeric-string +Unsupported operand types: stdClass | non-numeric-string +Unsupported operand types: stdClass | non-numeric-string Unsupported operand types: resource | null Unsupported operand types: resource | null Unsupported operand types: resource | bool @@ -875,21 +875,21 @@ Unsupported operand types: resource | int Unsupported operand types: resource | int Unsupported operand types: resource | float Unsupported operand types: resource | float -Unsupported operand types: resource | non-numeric string -Unsupported operand types: resource | non-numeric string -Unsupported operand types: resource | non-numeric string -Unsupported operand types: resource | non-numeric string -Unsupported operand types: non-numeric string | null -Unsupported operand types: null | non-numeric string -Unsupported operand types: non-numeric string | bool -Unsupported operand types: bool | non-numeric string -Unsupported operand types: non-numeric string | bool -Unsupported operand types: bool | non-numeric string -Unsupported operand types: non-numeric string | int -Unsupported operand types: int | non-numeric string -Unsupported operand types: non-numeric string | float +Unsupported operand types: resource | non-numeric-string +Unsupported operand types: resource | non-numeric-string +Unsupported operand types: resource | non-numeric-string +Unsupported operand types: resource | non-numeric-string +Unsupported operand types: non-numeric-string | null +Unsupported operand types: null | non-numeric-string +Unsupported operand types: non-numeric-string | bool +Unsupported operand types: bool | non-numeric-string +Unsupported operand types: non-numeric-string | bool +Unsupported operand types: bool | non-numeric-string +Unsupported operand types: non-numeric-string | int +Unsupported operand types: int | non-numeric-string +Unsupported operand types: non-numeric-string | float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float | non-numeric string +Unsupported operand types: float | non-numeric-string No error for "foo" | "123" No error for "123" | "foo" No error for "foo" | "123foo" @@ -897,18 +897,18 @@ No error for "123foo" | "foo" Unsupported operand types: array ^ array Unsupported operand types: stdClass ^ array Unsupported operand types: resource ^ array -Unsupported operand types: array ^ non-numeric string +Unsupported operand types: array ^ non-numeric-string Unsupported operand types: stdClass ^ array Unsupported operand types: stdClass ^ stdClass Unsupported operand types: stdClass ^ resource -Unsupported operand types: stdClass ^ non-numeric string +Unsupported operand types: stdClass ^ non-numeric-string Unsupported operand types: resource ^ array Unsupported operand types: stdClass ^ resource Unsupported operand types: resource ^ resource -Unsupported operand types: resource ^ non-numeric string -Unsupported operand types: non-numeric string ^ array -Unsupported operand types: stdClass ^ non-numeric string -Unsupported operand types: resource ^ non-numeric string +Unsupported operand types: resource ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ array +Unsupported operand types: stdClass ^ non-numeric-string +Unsupported operand types: resource ^ non-numeric-string No error for "foo" ^ "foo" Unsupported operand types: array ^ null Unsupported operand types: null ^ array @@ -921,11 +921,11 @@ Unsupported operand types: int ^ array Unsupported operand types: array ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ array -Unsupported operand types: array ^ non-numeric string -Unsupported operand types: non-numeric string ^ array -Unsupported operand types: array ^ non-numeric string +Unsupported operand types: array ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ array +Unsupported operand types: array ^ non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ^ array +Unsupported operand types: non-numeric-string ^ array Unsupported operand types: stdClass ^ null Unsupported operand types: stdClass ^ null Unsupported operand types: stdClass ^ bool @@ -936,10 +936,10 @@ Unsupported operand types: stdClass ^ int Unsupported operand types: stdClass ^ int Unsupported operand types: stdClass ^ float Unsupported operand types: stdClass ^ float -Unsupported operand types: stdClass ^ non-numeric string -Unsupported operand types: stdClass ^ non-numeric string -Unsupported operand types: stdClass ^ non-numeric string -Unsupported operand types: stdClass ^ non-numeric string +Unsupported operand types: stdClass ^ non-numeric-string +Unsupported operand types: stdClass ^ non-numeric-string +Unsupported operand types: stdClass ^ non-numeric-string +Unsupported operand types: stdClass ^ non-numeric-string Unsupported operand types: resource ^ null Unsupported operand types: resource ^ null Unsupported operand types: resource ^ bool @@ -950,21 +950,21 @@ Unsupported operand types: resource ^ int Unsupported operand types: resource ^ int Unsupported operand types: resource ^ float Unsupported operand types: resource ^ float -Unsupported operand types: resource ^ non-numeric string -Unsupported operand types: resource ^ non-numeric string -Unsupported operand types: resource ^ non-numeric string -Unsupported operand types: resource ^ non-numeric string -Unsupported operand types: non-numeric string ^ null -Unsupported operand types: null ^ non-numeric string -Unsupported operand types: non-numeric string ^ bool -Unsupported operand types: bool ^ non-numeric string -Unsupported operand types: non-numeric string ^ bool -Unsupported operand types: bool ^ non-numeric string -Unsupported operand types: non-numeric string ^ int -Unsupported operand types: int ^ non-numeric string -Unsupported operand types: non-numeric string ^ float +Unsupported operand types: resource ^ non-numeric-string +Unsupported operand types: resource ^ non-numeric-string +Unsupported operand types: resource ^ non-numeric-string +Unsupported operand types: resource ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ null +Unsupported operand types: null ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ bool +Unsupported operand types: bool ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ bool +Unsupported operand types: bool ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ int +Unsupported operand types: int ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float ^ non-numeric string +Unsupported operand types: float ^ non-numeric-string No error for "foo" ^ "123" No error for "123" ^ "foo" No error for "foo" ^ "123foo" @@ -1141,19 +1141,19 @@ ASSIGN OP: No error for [] += [] Unsupported operand types: array + stdClass Unsupported operand types: array + resource -Unsupported operand types: array + non-numeric string +Unsupported operand types: array + non-numeric-string Unsupported operand types: stdClass + array Unsupported operand types: stdClass + stdClass Unsupported operand types: stdClass + resource -Unsupported operand types: stdClass + non-numeric string +Unsupported operand types: stdClass + non-numeric-string Unsupported operand types: resource + array Unsupported operand types: resource + stdClass Unsupported operand types: resource + resource -Unsupported operand types: resource + non-numeric string -Unsupported operand types: non-numeric string + array -Unsupported operand types: non-numeric string + stdClass -Unsupported operand types: non-numeric string + resource -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: resource + non-numeric-string +Unsupported operand types: non-numeric-string + array +Unsupported operand types: non-numeric-string + stdClass +Unsupported operand types: non-numeric-string + resource +Unsupported operand types: non-numeric-string + non-numeric-string Unsupported operand types: array + null Unsupported operand types: null + array Unsupported operand types: array + bool @@ -1164,11 +1164,11 @@ Unsupported operand types: array + int Unsupported operand types: int + array Unsupported operand types: array + float Unsupported operand types: float + array -Unsupported operand types: array + non-numeric string -Unsupported operand types: non-numeric string + array -Unsupported operand types: array + non-numeric string +Unsupported operand types: array + non-numeric-string +Unsupported operand types: non-numeric-string + array +Unsupported operand types: array + non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string + array +Unsupported operand types: non-numeric-string + array Unsupported operand types: stdClass + null Unsupported operand types: null + stdClass Unsupported operand types: stdClass + bool @@ -1179,11 +1179,11 @@ Unsupported operand types: stdClass + int Unsupported operand types: int + stdClass Unsupported operand types: stdClass + float Unsupported operand types: float + stdClass -Unsupported operand types: stdClass + non-numeric string -Unsupported operand types: non-numeric string + stdClass -Unsupported operand types: stdClass + non-numeric string +Unsupported operand types: stdClass + non-numeric-string +Unsupported operand types: non-numeric-string + stdClass +Unsupported operand types: stdClass + non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string + stdClass +Unsupported operand types: non-numeric-string + stdClass Unsupported operand types: resource + null Unsupported operand types: null + resource Unsupported operand types: resource + bool @@ -1194,42 +1194,42 @@ Unsupported operand types: resource + int Unsupported operand types: int + resource Unsupported operand types: resource + float Unsupported operand types: float + resource -Unsupported operand types: resource + non-numeric string -Unsupported operand types: non-numeric string + resource -Unsupported operand types: resource + non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string + resource -Unsupported operand types: non-numeric string + null -Unsupported operand types: null + non-numeric string -Unsupported operand types: non-numeric string + bool -Unsupported operand types: bool + non-numeric string -Unsupported operand types: non-numeric string + bool -Unsupported operand types: bool + non-numeric string -Unsupported operand types: non-numeric string + int -Unsupported operand types: int + non-numeric string -Unsupported operand types: non-numeric string + float -Unsupported operand types: float + non-numeric string -Unsupported operand types: non-numeric string + non-numeric string -Unsupported operand types: non-numeric string + non-numeric string -Unsupported operand types: non-numeric string + non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: resource + non-numeric-string +Unsupported operand types: non-numeric-string + resource +Unsupported operand types: resource + non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string + resource +Unsupported operand types: non-numeric-string + null +Unsupported operand types: null + non-numeric-string +Unsupported operand types: non-numeric-string + bool +Unsupported operand types: bool + non-numeric-string +Unsupported operand types: non-numeric-string + bool +Unsupported operand types: bool + non-numeric-string +Unsupported operand types: non-numeric-string + int +Unsupported operand types: int + non-numeric-string +Unsupported operand types: non-numeric-string + float +Unsupported operand types: float + non-numeric-string +Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string + non-numeric-string Unsupported operand types: array - array Unsupported operand types: array - stdClass Unsupported operand types: array - resource -Unsupported operand types: array - non-numeric string +Unsupported operand types: array - non-numeric-string Unsupported operand types: stdClass - array Unsupported operand types: stdClass - stdClass Unsupported operand types: stdClass - resource -Unsupported operand types: stdClass - non-numeric string +Unsupported operand types: stdClass - non-numeric-string Unsupported operand types: resource - array Unsupported operand types: resource - stdClass Unsupported operand types: resource - resource -Unsupported operand types: resource - non-numeric string -Unsupported operand types: non-numeric string - array -Unsupported operand types: non-numeric string - stdClass -Unsupported operand types: non-numeric string - resource -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: resource - non-numeric-string +Unsupported operand types: non-numeric-string - array +Unsupported operand types: non-numeric-string - stdClass +Unsupported operand types: non-numeric-string - resource +Unsupported operand types: non-numeric-string - non-numeric-string Unsupported operand types: array - null Unsupported operand types: null - array Unsupported operand types: array - bool @@ -1240,11 +1240,11 @@ Unsupported operand types: array - int Unsupported operand types: int - array Unsupported operand types: array - float Unsupported operand types: float - array -Unsupported operand types: array - non-numeric string -Unsupported operand types: non-numeric string - array -Unsupported operand types: array - non-numeric string +Unsupported operand types: array - non-numeric-string +Unsupported operand types: non-numeric-string - array +Unsupported operand types: array - non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string - array +Unsupported operand types: non-numeric-string - array Unsupported operand types: stdClass - null Unsupported operand types: null - stdClass Unsupported operand types: stdClass - bool @@ -1255,11 +1255,11 @@ Unsupported operand types: stdClass - int Unsupported operand types: int - stdClass Unsupported operand types: stdClass - float Unsupported operand types: float - stdClass -Unsupported operand types: stdClass - non-numeric string -Unsupported operand types: non-numeric string - stdClass -Unsupported operand types: stdClass - non-numeric string +Unsupported operand types: stdClass - non-numeric-string +Unsupported operand types: non-numeric-string - stdClass +Unsupported operand types: stdClass - non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string - stdClass +Unsupported operand types: non-numeric-string - stdClass Unsupported operand types: resource - null Unsupported operand types: null - resource Unsupported operand types: resource - bool @@ -1270,42 +1270,42 @@ Unsupported operand types: resource - int Unsupported operand types: int - resource Unsupported operand types: resource - float Unsupported operand types: float - resource -Unsupported operand types: resource - non-numeric string -Unsupported operand types: non-numeric string - resource -Unsupported operand types: resource - non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string - resource -Unsupported operand types: non-numeric string - null -Unsupported operand types: null - non-numeric string -Unsupported operand types: non-numeric string - bool -Unsupported operand types: bool - non-numeric string -Unsupported operand types: non-numeric string - bool -Unsupported operand types: bool - non-numeric string -Unsupported operand types: non-numeric string - int -Unsupported operand types: int - non-numeric string -Unsupported operand types: non-numeric string - float -Unsupported operand types: float - non-numeric string -Unsupported operand types: non-numeric string - non-numeric string -Unsupported operand types: non-numeric string - non-numeric string -Unsupported operand types: non-numeric string - non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: resource - non-numeric-string +Unsupported operand types: non-numeric-string - resource +Unsupported operand types: resource - non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string - resource +Unsupported operand types: non-numeric-string - null +Unsupported operand types: null - non-numeric-string +Unsupported operand types: non-numeric-string - bool +Unsupported operand types: bool - non-numeric-string +Unsupported operand types: non-numeric-string - bool +Unsupported operand types: bool - non-numeric-string +Unsupported operand types: non-numeric-string - int +Unsupported operand types: int - non-numeric-string +Unsupported operand types: non-numeric-string - float +Unsupported operand types: float - non-numeric-string +Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string - non-numeric-string Unsupported operand types: array * array Unsupported operand types: array * stdClass Unsupported operand types: array * resource -Unsupported operand types: array * non-numeric string +Unsupported operand types: array * non-numeric-string Unsupported operand types: stdClass * array Unsupported operand types: stdClass * stdClass Unsupported operand types: stdClass * resource -Unsupported operand types: stdClass * non-numeric string +Unsupported operand types: stdClass * non-numeric-string Unsupported operand types: resource * array Unsupported operand types: resource * stdClass Unsupported operand types: resource * resource -Unsupported operand types: resource * non-numeric string -Unsupported operand types: non-numeric string * array -Unsupported operand types: non-numeric string * stdClass -Unsupported operand types: non-numeric string * resource -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: resource * non-numeric-string +Unsupported operand types: non-numeric-string * array +Unsupported operand types: non-numeric-string * stdClass +Unsupported operand types: non-numeric-string * resource +Unsupported operand types: non-numeric-string * non-numeric-string Unsupported operand types: array * null Unsupported operand types: null * array Unsupported operand types: array * bool @@ -1316,11 +1316,11 @@ Unsupported operand types: array * int Unsupported operand types: int * array Unsupported operand types: array * float Unsupported operand types: float * array -Unsupported operand types: array * non-numeric string -Unsupported operand types: non-numeric string * array -Unsupported operand types: array * non-numeric string +Unsupported operand types: array * non-numeric-string +Unsupported operand types: non-numeric-string * array +Unsupported operand types: array * non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string * array +Unsupported operand types: non-numeric-string * array Unsupported operand types: stdClass * null Unsupported operand types: null * stdClass Unsupported operand types: stdClass * bool @@ -1331,11 +1331,11 @@ Unsupported operand types: stdClass * int Unsupported operand types: int * stdClass Unsupported operand types: stdClass * float Unsupported operand types: float * stdClass -Unsupported operand types: stdClass * non-numeric string -Unsupported operand types: non-numeric string * stdClass -Unsupported operand types: stdClass * non-numeric string +Unsupported operand types: stdClass * non-numeric-string +Unsupported operand types: non-numeric-string * stdClass +Unsupported operand types: stdClass * non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string * stdClass +Unsupported operand types: non-numeric-string * stdClass Unsupported operand types: resource * null Unsupported operand types: null * resource Unsupported operand types: resource * bool @@ -1346,42 +1346,42 @@ Unsupported operand types: resource * int Unsupported operand types: int * resource Unsupported operand types: resource * float Unsupported operand types: float * resource -Unsupported operand types: resource * non-numeric string -Unsupported operand types: non-numeric string * resource -Unsupported operand types: resource * non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string * resource -Unsupported operand types: non-numeric string * null -Unsupported operand types: null * non-numeric string -Unsupported operand types: non-numeric string * bool -Unsupported operand types: bool * non-numeric string -Unsupported operand types: non-numeric string * bool -Unsupported operand types: bool * non-numeric string -Unsupported operand types: non-numeric string * int -Unsupported operand types: int * non-numeric string -Unsupported operand types: non-numeric string * float -Unsupported operand types: float * non-numeric string -Unsupported operand types: non-numeric string * non-numeric string -Unsupported operand types: non-numeric string * non-numeric string -Unsupported operand types: non-numeric string * non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: resource * non-numeric-string +Unsupported operand types: non-numeric-string * resource +Unsupported operand types: resource * non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string * resource +Unsupported operand types: non-numeric-string * null +Unsupported operand types: null * non-numeric-string +Unsupported operand types: non-numeric-string * bool +Unsupported operand types: bool * non-numeric-string +Unsupported operand types: non-numeric-string * bool +Unsupported operand types: bool * non-numeric-string +Unsupported operand types: non-numeric-string * int +Unsupported operand types: int * non-numeric-string +Unsupported operand types: non-numeric-string * float +Unsupported operand types: float * non-numeric-string +Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string * non-numeric-string Unsupported operand types: array / array Unsupported operand types: array / stdClass Unsupported operand types: array / resource -Unsupported operand types: array / non-numeric string +Unsupported operand types: array / non-numeric-string Unsupported operand types: stdClass / array Unsupported operand types: stdClass / stdClass Unsupported operand types: stdClass / resource -Unsupported operand types: stdClass / non-numeric string +Unsupported operand types: stdClass / non-numeric-string Unsupported operand types: resource / array Unsupported operand types: resource / stdClass Unsupported operand types: resource / resource -Unsupported operand types: resource / non-numeric string -Unsupported operand types: non-numeric string / array -Unsupported operand types: non-numeric string / stdClass -Unsupported operand types: non-numeric string / resource -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: resource / non-numeric-string +Unsupported operand types: non-numeric-string / array +Unsupported operand types: non-numeric-string / stdClass +Unsupported operand types: non-numeric-string / resource +Unsupported operand types: non-numeric-string / non-numeric-string Unsupported operand types: array / null Unsupported operand types: null / array Unsupported operand types: array / bool @@ -1392,11 +1392,11 @@ Unsupported operand types: array / int Unsupported operand types: int / array Unsupported operand types: array / float Unsupported operand types: float / array -Unsupported operand types: array / non-numeric string -Unsupported operand types: non-numeric string / array -Unsupported operand types: array / non-numeric string +Unsupported operand types: array / non-numeric-string +Unsupported operand types: non-numeric-string / array +Unsupported operand types: array / non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string / array +Unsupported operand types: non-numeric-string / array Unsupported operand types: stdClass / null Unsupported operand types: null / stdClass Unsupported operand types: stdClass / bool @@ -1407,11 +1407,11 @@ Unsupported operand types: stdClass / int Unsupported operand types: int / stdClass Unsupported operand types: stdClass / float Unsupported operand types: float / stdClass -Unsupported operand types: stdClass / non-numeric string -Unsupported operand types: non-numeric string / stdClass -Unsupported operand types: stdClass / non-numeric string +Unsupported operand types: stdClass / non-numeric-string +Unsupported operand types: non-numeric-string / stdClass +Unsupported operand types: stdClass / non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string / stdClass +Unsupported operand types: non-numeric-string / stdClass Unsupported operand types: resource / null Unsupported operand types: null / resource Unsupported operand types: resource / bool @@ -1422,42 +1422,42 @@ Unsupported operand types: resource / int Unsupported operand types: int / resource Unsupported operand types: resource / float Unsupported operand types: float / resource -Unsupported operand types: resource / non-numeric string -Unsupported operand types: non-numeric string / resource -Unsupported operand types: resource / non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string / resource -Unsupported operand types: non-numeric string / null -Unsupported operand types: null / non-numeric string -Unsupported operand types: non-numeric string / bool -Unsupported operand types: bool / non-numeric string -Unsupported operand types: non-numeric string / bool -Unsupported operand types: bool / non-numeric string -Unsupported operand types: non-numeric string / int -Unsupported operand types: int / non-numeric string -Unsupported operand types: non-numeric string / float -Unsupported operand types: float / non-numeric string -Unsupported operand types: non-numeric string / non-numeric string -Unsupported operand types: non-numeric string / non-numeric string -Unsupported operand types: non-numeric string / non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: resource / non-numeric-string +Unsupported operand types: non-numeric-string / resource +Unsupported operand types: resource / non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string / resource +Unsupported operand types: non-numeric-string / null +Unsupported operand types: null / non-numeric-string +Unsupported operand types: non-numeric-string / bool +Unsupported operand types: bool / non-numeric-string +Unsupported operand types: non-numeric-string / bool +Unsupported operand types: bool / non-numeric-string +Unsupported operand types: non-numeric-string / int +Unsupported operand types: int / non-numeric-string +Unsupported operand types: non-numeric-string / float +Unsupported operand types: float / non-numeric-string +Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string / non-numeric-string Unsupported operand types: array % array Unsupported operand types: array % stdClass Unsupported operand types: array % resource -Unsupported operand types: array % non-numeric string +Unsupported operand types: array % non-numeric-string Unsupported operand types: stdClass % array Unsupported operand types: stdClass % stdClass Unsupported operand types: stdClass % resource -Unsupported operand types: stdClass % non-numeric string +Unsupported operand types: stdClass % non-numeric-string Unsupported operand types: resource % array Unsupported operand types: resource % stdClass Unsupported operand types: resource % resource -Unsupported operand types: resource % non-numeric string -Unsupported operand types: non-numeric string % array -Unsupported operand types: non-numeric string % stdClass -Unsupported operand types: non-numeric string % resource -Unsupported operand types: non-numeric string % non-numeric string +Unsupported operand types: resource % non-numeric-string +Unsupported operand types: non-numeric-string % array +Unsupported operand types: non-numeric-string % stdClass +Unsupported operand types: non-numeric-string % resource +Unsupported operand types: non-numeric-string % non-numeric-string Unsupported operand types: array % null Unsupported operand types: null % array Unsupported operand types: array % bool @@ -1469,11 +1469,11 @@ Unsupported operand types: int % array Unsupported operand types: array % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % array -Unsupported operand types: array % non-numeric string -Unsupported operand types: non-numeric string % array -Unsupported operand types: array % non-numeric string +Unsupported operand types: array % non-numeric-string +Unsupported operand types: non-numeric-string % array +Unsupported operand types: array % non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string % array +Unsupported operand types: non-numeric-string % array Unsupported operand types: stdClass % null Unsupported operand types: null % stdClass Unsupported operand types: stdClass % bool @@ -1485,11 +1485,11 @@ Unsupported operand types: int % stdClass Unsupported operand types: stdClass % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % stdClass -Unsupported operand types: stdClass % non-numeric string -Unsupported operand types: non-numeric string % stdClass -Unsupported operand types: stdClass % non-numeric string +Unsupported operand types: stdClass % non-numeric-string +Unsupported operand types: non-numeric-string % stdClass +Unsupported operand types: stdClass % non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string % stdClass +Unsupported operand types: non-numeric-string % stdClass Unsupported operand types: resource % null Unsupported operand types: null % resource Unsupported operand types: resource % bool @@ -1501,43 +1501,43 @@ Unsupported operand types: int % resource Unsupported operand types: resource % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % resource -Unsupported operand types: resource % non-numeric string -Unsupported operand types: non-numeric string % resource -Unsupported operand types: resource % non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string % resource -Unsupported operand types: non-numeric string % null -Unsupported operand types: null % non-numeric string -Unsupported operand types: non-numeric string % bool -Unsupported operand types: bool % non-numeric string -Unsupported operand types: non-numeric string % bool -Unsupported operand types: bool % non-numeric string -Unsupported operand types: non-numeric string % int -Unsupported operand types: int % non-numeric string -Unsupported operand types: non-numeric string % float +Unsupported operand types: resource % non-numeric-string +Unsupported operand types: non-numeric-string % resource +Unsupported operand types: resource % non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string % resource +Unsupported operand types: non-numeric-string % null +Unsupported operand types: null % non-numeric-string +Unsupported operand types: non-numeric-string % bool +Unsupported operand types: bool % non-numeric-string +Unsupported operand types: non-numeric-string % bool +Unsupported operand types: bool % non-numeric-string +Unsupported operand types: non-numeric-string % int +Unsupported operand types: int % non-numeric-string +Unsupported operand types: non-numeric-string % float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float % non-numeric string -Unsupported operand types: non-numeric string % non-numeric string -Unsupported operand types: non-numeric string % non-numeric string -Unsupported operand types: non-numeric string % non-numeric string +Unsupported operand types: float % non-numeric-string +Unsupported operand types: non-numeric-string % non-numeric-string +Unsupported operand types: non-numeric-string % non-numeric-string +Unsupported operand types: non-numeric-string % non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string % non-numeric string +Unsupported operand types: non-numeric-string % non-numeric-string Unsupported operand types: array ** array Unsupported operand types: array ** stdClass Unsupported operand types: array ** resource -Unsupported operand types: array ** non-numeric string +Unsupported operand types: array ** non-numeric-string Unsupported operand types: stdClass ** array Unsupported operand types: stdClass ** stdClass Unsupported operand types: stdClass ** resource -Unsupported operand types: stdClass ** non-numeric string +Unsupported operand types: stdClass ** non-numeric-string Unsupported operand types: resource ** array Unsupported operand types: resource ** stdClass Unsupported operand types: resource ** resource -Unsupported operand types: resource ** non-numeric string -Unsupported operand types: non-numeric string ** array -Unsupported operand types: non-numeric string ** stdClass -Unsupported operand types: non-numeric string ** resource -Unsupported operand types: non-numeric string ** non-numeric string +Unsupported operand types: resource ** non-numeric-string +Unsupported operand types: non-numeric-string ** array +Unsupported operand types: non-numeric-string ** stdClass +Unsupported operand types: non-numeric-string ** resource +Unsupported operand types: non-numeric-string ** non-numeric-string Unsupported operand types: array ** null Unsupported operand types: null ** array Unsupported operand types: array ** bool @@ -1548,11 +1548,11 @@ Unsupported operand types: array ** int Unsupported operand types: int ** array Unsupported operand types: array ** float Unsupported operand types: float ** array -Unsupported operand types: array ** non-numeric string -Unsupported operand types: non-numeric string ** array -Unsupported operand types: array ** non-numeric string +Unsupported operand types: array ** non-numeric-string +Unsupported operand types: non-numeric-string ** array +Unsupported operand types: array ** non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ** array +Unsupported operand types: non-numeric-string ** array Unsupported operand types: stdClass ** null Unsupported operand types: null ** stdClass Unsupported operand types: stdClass ** bool @@ -1563,11 +1563,11 @@ Unsupported operand types: stdClass ** int Unsupported operand types: int ** stdClass Unsupported operand types: stdClass ** float Unsupported operand types: float ** stdClass -Unsupported operand types: stdClass ** non-numeric string -Unsupported operand types: non-numeric string ** stdClass -Unsupported operand types: stdClass ** non-numeric string +Unsupported operand types: stdClass ** non-numeric-string +Unsupported operand types: non-numeric-string ** stdClass +Unsupported operand types: stdClass ** non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ** stdClass +Unsupported operand types: non-numeric-string ** stdClass Unsupported operand types: resource ** null Unsupported operand types: null ** resource Unsupported operand types: resource ** bool @@ -1578,42 +1578,42 @@ Unsupported operand types: resource ** int Unsupported operand types: int ** resource Unsupported operand types: resource ** float Unsupported operand types: float ** resource -Unsupported operand types: resource ** non-numeric string -Unsupported operand types: non-numeric string ** resource -Unsupported operand types: resource ** non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ** resource -Unsupported operand types: non-numeric string ** null -Unsupported operand types: null ** non-numeric string -Unsupported operand types: non-numeric string ** bool -Unsupported operand types: bool ** non-numeric string -Unsupported operand types: non-numeric string ** bool -Unsupported operand types: bool ** non-numeric string -Unsupported operand types: non-numeric string ** int -Unsupported operand types: int ** non-numeric string -Unsupported operand types: non-numeric string ** float -Unsupported operand types: float ** non-numeric string -Unsupported operand types: non-numeric string ** non-numeric string -Unsupported operand types: non-numeric string ** non-numeric string -Unsupported operand types: non-numeric string ** non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ** non-numeric string +Unsupported operand types: resource ** non-numeric-string +Unsupported operand types: non-numeric-string ** resource +Unsupported operand types: resource ** non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string ** resource +Unsupported operand types: non-numeric-string ** null +Unsupported operand types: null ** non-numeric-string +Unsupported operand types: non-numeric-string ** bool +Unsupported operand types: bool ** non-numeric-string +Unsupported operand types: non-numeric-string ** bool +Unsupported operand types: bool ** non-numeric-string +Unsupported operand types: non-numeric-string ** int +Unsupported operand types: int ** non-numeric-string +Unsupported operand types: non-numeric-string ** float +Unsupported operand types: float ** non-numeric-string +Unsupported operand types: non-numeric-string ** non-numeric-string +Unsupported operand types: non-numeric-string ** non-numeric-string +Unsupported operand types: non-numeric-string ** non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string ** non-numeric-string Unsupported operand types: array << array Unsupported operand types: array << stdClass Unsupported operand types: array << resource -Unsupported operand types: array << non-numeric string +Unsupported operand types: array << non-numeric-string Unsupported operand types: stdClass << array Unsupported operand types: stdClass << stdClass Unsupported operand types: stdClass << resource -Unsupported operand types: stdClass << non-numeric string +Unsupported operand types: stdClass << non-numeric-string Unsupported operand types: resource << array Unsupported operand types: resource << stdClass Unsupported operand types: resource << resource -Unsupported operand types: resource << non-numeric string -Unsupported operand types: non-numeric string << array -Unsupported operand types: non-numeric string << stdClass -Unsupported operand types: non-numeric string << resource -Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: resource << non-numeric-string +Unsupported operand types: non-numeric-string << array +Unsupported operand types: non-numeric-string << stdClass +Unsupported operand types: non-numeric-string << resource +Unsupported operand types: non-numeric-string << non-numeric-string Unsupported operand types: array << null Unsupported operand types: null << array Unsupported operand types: array << bool @@ -1625,11 +1625,11 @@ Unsupported operand types: int << array Unsupported operand types: array << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << array -Unsupported operand types: array << non-numeric string -Unsupported operand types: non-numeric string << array -Unsupported operand types: array << non-numeric string +Unsupported operand types: array << non-numeric-string +Unsupported operand types: non-numeric-string << array +Unsupported operand types: array << non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string << array +Unsupported operand types: non-numeric-string << array Unsupported operand types: stdClass << null Unsupported operand types: null << stdClass Unsupported operand types: stdClass << bool @@ -1641,11 +1641,11 @@ Unsupported operand types: int << stdClass Unsupported operand types: stdClass << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << stdClass -Unsupported operand types: stdClass << non-numeric string -Unsupported operand types: non-numeric string << stdClass -Unsupported operand types: stdClass << non-numeric string +Unsupported operand types: stdClass << non-numeric-string +Unsupported operand types: non-numeric-string << stdClass +Unsupported operand types: stdClass << non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string << stdClass +Unsupported operand types: non-numeric-string << stdClass Unsupported operand types: resource << null Unsupported operand types: null << resource Unsupported operand types: resource << bool @@ -1657,43 +1657,43 @@ Unsupported operand types: int << resource Unsupported operand types: resource << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << resource -Unsupported operand types: resource << non-numeric string -Unsupported operand types: non-numeric string << resource -Unsupported operand types: resource << non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string << resource -Unsupported operand types: non-numeric string << null -Unsupported operand types: null << non-numeric string -Unsupported operand types: non-numeric string << bool -Unsupported operand types: bool << non-numeric string -Unsupported operand types: non-numeric string << bool -Unsupported operand types: bool << non-numeric string -Unsupported operand types: non-numeric string << int -Unsupported operand types: int << non-numeric string -Unsupported operand types: non-numeric string << float +Unsupported operand types: resource << non-numeric-string +Unsupported operand types: non-numeric-string << resource +Unsupported operand types: resource << non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string << resource +Unsupported operand types: non-numeric-string << null +Unsupported operand types: null << non-numeric-string +Unsupported operand types: non-numeric-string << bool +Unsupported operand types: bool << non-numeric-string +Unsupported operand types: non-numeric-string << bool +Unsupported operand types: bool << non-numeric-string +Unsupported operand types: non-numeric-string << int +Unsupported operand types: int << non-numeric-string +Unsupported operand types: non-numeric-string << float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float << non-numeric string -Unsupported operand types: non-numeric string << non-numeric string -Unsupported operand types: non-numeric string << non-numeric string -Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: float << non-numeric-string +Unsupported operand types: non-numeric-string << non-numeric-string +Unsupported operand types: non-numeric-string << non-numeric-string +Unsupported operand types: non-numeric-string << non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string << non-numeric string +Unsupported operand types: non-numeric-string << non-numeric-string Unsupported operand types: array >> array Unsupported operand types: array >> stdClass Unsupported operand types: array >> resource -Unsupported operand types: array >> non-numeric string +Unsupported operand types: array >> non-numeric-string Unsupported operand types: stdClass >> array Unsupported operand types: stdClass >> stdClass Unsupported operand types: stdClass >> resource -Unsupported operand types: stdClass >> non-numeric string +Unsupported operand types: stdClass >> non-numeric-string Unsupported operand types: resource >> array Unsupported operand types: resource >> stdClass Unsupported operand types: resource >> resource -Unsupported operand types: resource >> non-numeric string -Unsupported operand types: non-numeric string >> array -Unsupported operand types: non-numeric string >> stdClass -Unsupported operand types: non-numeric string >> resource -Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: resource >> non-numeric-string +Unsupported operand types: non-numeric-string >> array +Unsupported operand types: non-numeric-string >> stdClass +Unsupported operand types: non-numeric-string >> resource +Unsupported operand types: non-numeric-string >> non-numeric-string Unsupported operand types: array >> null Unsupported operand types: null >> array Unsupported operand types: array >> bool @@ -1705,11 +1705,11 @@ Unsupported operand types: int >> array Unsupported operand types: array >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> array -Unsupported operand types: array >> non-numeric string -Unsupported operand types: non-numeric string >> array -Unsupported operand types: array >> non-numeric string +Unsupported operand types: array >> non-numeric-string +Unsupported operand types: non-numeric-string >> array +Unsupported operand types: array >> non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string >> array +Unsupported operand types: non-numeric-string >> array Unsupported operand types: stdClass >> null Unsupported operand types: null >> stdClass Unsupported operand types: stdClass >> bool @@ -1721,11 +1721,11 @@ Unsupported operand types: int >> stdClass Unsupported operand types: stdClass >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> stdClass -Unsupported operand types: stdClass >> non-numeric string -Unsupported operand types: non-numeric string >> stdClass -Unsupported operand types: stdClass >> non-numeric string +Unsupported operand types: stdClass >> non-numeric-string +Unsupported operand types: non-numeric-string >> stdClass +Unsupported operand types: stdClass >> non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string >> stdClass +Unsupported operand types: non-numeric-string >> stdClass Unsupported operand types: resource >> null Unsupported operand types: null >> resource Unsupported operand types: resource >> bool @@ -1737,42 +1737,42 @@ Unsupported operand types: int >> resource Unsupported operand types: resource >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> resource -Unsupported operand types: resource >> non-numeric string -Unsupported operand types: non-numeric string >> resource -Unsupported operand types: resource >> non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string >> resource -Unsupported operand types: non-numeric string >> null -Unsupported operand types: null >> non-numeric string -Unsupported operand types: non-numeric string >> bool -Unsupported operand types: bool >> non-numeric string -Unsupported operand types: non-numeric string >> bool -Unsupported operand types: bool >> non-numeric string -Unsupported operand types: non-numeric string >> int -Unsupported operand types: int >> non-numeric string -Unsupported operand types: non-numeric string >> float +Unsupported operand types: resource >> non-numeric-string +Unsupported operand types: non-numeric-string >> resource +Unsupported operand types: resource >> non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string >> resource +Unsupported operand types: non-numeric-string >> null +Unsupported operand types: null >> non-numeric-string +Unsupported operand types: non-numeric-string >> bool +Unsupported operand types: bool >> non-numeric-string +Unsupported operand types: non-numeric-string >> bool +Unsupported operand types: bool >> non-numeric-string +Unsupported operand types: non-numeric-string >> int +Unsupported operand types: int >> non-numeric-string +Unsupported operand types: non-numeric-string >> float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float >> non-numeric string -Unsupported operand types: non-numeric string >> non-numeric string -Unsupported operand types: non-numeric string >> non-numeric string -Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: float >> non-numeric-string +Unsupported operand types: non-numeric-string >> non-numeric-string +Unsupported operand types: non-numeric-string >> non-numeric-string +Unsupported operand types: non-numeric-string >> non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string >> non-numeric string +Unsupported operand types: non-numeric-string >> non-numeric-string Unsupported operand types: array & array Unsupported operand types: array & stdClass Unsupported operand types: array & resource -Unsupported operand types: array & non-numeric string +Unsupported operand types: array & non-numeric-string Unsupported operand types: stdClass & array Unsupported operand types: stdClass & stdClass Unsupported operand types: stdClass & resource -Unsupported operand types: stdClass & non-numeric string +Unsupported operand types: stdClass & non-numeric-string Unsupported operand types: resource & array Unsupported operand types: resource & stdClass Unsupported operand types: resource & resource -Unsupported operand types: resource & non-numeric string -Unsupported operand types: non-numeric string & array -Unsupported operand types: non-numeric string & stdClass -Unsupported operand types: non-numeric string & resource +Unsupported operand types: resource & non-numeric-string +Unsupported operand types: non-numeric-string & array +Unsupported operand types: non-numeric-string & stdClass +Unsupported operand types: non-numeric-string & resource No error for "foo" &= "foo" Unsupported operand types: array & null Unsupported operand types: null & array @@ -1785,11 +1785,11 @@ Unsupported operand types: int & array Unsupported operand types: array & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & array -Unsupported operand types: array & non-numeric string -Unsupported operand types: non-numeric string & array -Unsupported operand types: array & non-numeric string +Unsupported operand types: array & non-numeric-string +Unsupported operand types: non-numeric-string & array +Unsupported operand types: array & non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string & array +Unsupported operand types: non-numeric-string & array Unsupported operand types: stdClass & null Unsupported operand types: null & stdClass Unsupported operand types: stdClass & bool @@ -1801,11 +1801,11 @@ Unsupported operand types: int & stdClass Unsupported operand types: stdClass & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & stdClass -Unsupported operand types: stdClass & non-numeric string -Unsupported operand types: non-numeric string & stdClass -Unsupported operand types: stdClass & non-numeric string +Unsupported operand types: stdClass & non-numeric-string +Unsupported operand types: non-numeric-string & stdClass +Unsupported operand types: stdClass & non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string & stdClass +Unsupported operand types: non-numeric-string & stdClass Unsupported operand types: resource & null Unsupported operand types: null & resource Unsupported operand types: resource & bool @@ -1817,22 +1817,22 @@ Unsupported operand types: int & resource Unsupported operand types: resource & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & resource -Unsupported operand types: resource & non-numeric string -Unsupported operand types: non-numeric string & resource -Unsupported operand types: resource & non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string & resource -Unsupported operand types: non-numeric string & null -Unsupported operand types: null & non-numeric string -Unsupported operand types: non-numeric string & bool -Unsupported operand types: bool & non-numeric string -Unsupported operand types: non-numeric string & bool -Unsupported operand types: bool & non-numeric string -Unsupported operand types: non-numeric string & int -Unsupported operand types: int & non-numeric string -Unsupported operand types: non-numeric string & float +Unsupported operand types: resource & non-numeric-string +Unsupported operand types: non-numeric-string & resource +Unsupported operand types: resource & non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string & resource +Unsupported operand types: non-numeric-string & null +Unsupported operand types: null & non-numeric-string +Unsupported operand types: non-numeric-string & bool +Unsupported operand types: bool & non-numeric-string +Unsupported operand types: non-numeric-string & bool +Unsupported operand types: bool & non-numeric-string +Unsupported operand types: non-numeric-string & int +Unsupported operand types: int & non-numeric-string +Unsupported operand types: non-numeric-string & float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float & non-numeric string +Unsupported operand types: float & non-numeric-string No error for "foo" &= "123" No error for "123" &= "foo" No error for "foo" &= "123foo" @@ -1840,18 +1840,18 @@ No error for "123foo" &= "foo" Unsupported operand types: array | array Unsupported operand types: array | stdClass Unsupported operand types: array | resource -Unsupported operand types: array | non-numeric string +Unsupported operand types: array | non-numeric-string Unsupported operand types: stdClass | array Unsupported operand types: stdClass | stdClass Unsupported operand types: stdClass | resource -Unsupported operand types: stdClass | non-numeric string +Unsupported operand types: stdClass | non-numeric-string Unsupported operand types: resource | array Unsupported operand types: resource | stdClass Unsupported operand types: resource | resource -Unsupported operand types: resource | non-numeric string -Unsupported operand types: non-numeric string | array -Unsupported operand types: non-numeric string | stdClass -Unsupported operand types: non-numeric string | resource +Unsupported operand types: resource | non-numeric-string +Unsupported operand types: non-numeric-string | array +Unsupported operand types: non-numeric-string | stdClass +Unsupported operand types: non-numeric-string | resource No error for "foo" |= "foo" Unsupported operand types: array | null Unsupported operand types: null | array @@ -1864,11 +1864,11 @@ Unsupported operand types: int | array Unsupported operand types: array | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | array -Unsupported operand types: array | non-numeric string -Unsupported operand types: non-numeric string | array -Unsupported operand types: array | non-numeric string +Unsupported operand types: array | non-numeric-string +Unsupported operand types: non-numeric-string | array +Unsupported operand types: array | non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string | array +Unsupported operand types: non-numeric-string | array Unsupported operand types: stdClass | null Unsupported operand types: null | stdClass Unsupported operand types: stdClass | bool @@ -1880,11 +1880,11 @@ Unsupported operand types: int | stdClass Unsupported operand types: stdClass | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | stdClass -Unsupported operand types: stdClass | non-numeric string -Unsupported operand types: non-numeric string | stdClass -Unsupported operand types: stdClass | non-numeric string +Unsupported operand types: stdClass | non-numeric-string +Unsupported operand types: non-numeric-string | stdClass +Unsupported operand types: stdClass | non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string | stdClass +Unsupported operand types: non-numeric-string | stdClass Unsupported operand types: resource | null Unsupported operand types: null | resource Unsupported operand types: resource | bool @@ -1896,22 +1896,22 @@ Unsupported operand types: int | resource Unsupported operand types: resource | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | resource -Unsupported operand types: resource | non-numeric string -Unsupported operand types: non-numeric string | resource -Unsupported operand types: resource | non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string | resource -Unsupported operand types: non-numeric string | null -Unsupported operand types: null | non-numeric string -Unsupported operand types: non-numeric string | bool -Unsupported operand types: bool | non-numeric string -Unsupported operand types: non-numeric string | bool -Unsupported operand types: bool | non-numeric string -Unsupported operand types: non-numeric string | int -Unsupported operand types: int | non-numeric string -Unsupported operand types: non-numeric string | float +Unsupported operand types: resource | non-numeric-string +Unsupported operand types: non-numeric-string | resource +Unsupported operand types: resource | non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string | resource +Unsupported operand types: non-numeric-string | null +Unsupported operand types: null | non-numeric-string +Unsupported operand types: non-numeric-string | bool +Unsupported operand types: bool | non-numeric-string +Unsupported operand types: non-numeric-string | bool +Unsupported operand types: bool | non-numeric-string +Unsupported operand types: non-numeric-string | int +Unsupported operand types: int | non-numeric-string +Unsupported operand types: non-numeric-string | float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float | non-numeric string +Unsupported operand types: float | non-numeric-string No error for "foo" |= "123" No error for "123" |= "foo" No error for "foo" |= "123foo" @@ -1919,18 +1919,18 @@ No error for "123foo" |= "foo" Unsupported operand types: array ^ array Unsupported operand types: array ^ stdClass Unsupported operand types: array ^ resource -Unsupported operand types: array ^ non-numeric string +Unsupported operand types: array ^ non-numeric-string Unsupported operand types: stdClass ^ array Unsupported operand types: stdClass ^ stdClass Unsupported operand types: stdClass ^ resource -Unsupported operand types: stdClass ^ non-numeric string +Unsupported operand types: stdClass ^ non-numeric-string Unsupported operand types: resource ^ array Unsupported operand types: resource ^ stdClass Unsupported operand types: resource ^ resource -Unsupported operand types: resource ^ non-numeric string -Unsupported operand types: non-numeric string ^ array -Unsupported operand types: non-numeric string ^ stdClass -Unsupported operand types: non-numeric string ^ resource +Unsupported operand types: resource ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ array +Unsupported operand types: non-numeric-string ^ stdClass +Unsupported operand types: non-numeric-string ^ resource No error for "foo" ^= "foo" Unsupported operand types: array ^ null Unsupported operand types: null ^ array @@ -1943,11 +1943,11 @@ Unsupported operand types: int ^ array Unsupported operand types: array ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ array -Unsupported operand types: array ^ non-numeric string -Unsupported operand types: non-numeric string ^ array -Unsupported operand types: array ^ non-numeric string +Unsupported operand types: array ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ array +Unsupported operand types: array ^ non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ^ array +Unsupported operand types: non-numeric-string ^ array Unsupported operand types: stdClass ^ null Unsupported operand types: null ^ stdClass Unsupported operand types: stdClass ^ bool @@ -1959,11 +1959,11 @@ Unsupported operand types: int ^ stdClass Unsupported operand types: stdClass ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ stdClass -Unsupported operand types: stdClass ^ non-numeric string -Unsupported operand types: non-numeric string ^ stdClass -Unsupported operand types: stdClass ^ non-numeric string +Unsupported operand types: stdClass ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ stdClass +Unsupported operand types: stdClass ^ non-numeric-string Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ^ stdClass +Unsupported operand types: non-numeric-string ^ stdClass Unsupported operand types: resource ^ null Unsupported operand types: null ^ resource Unsupported operand types: resource ^ bool @@ -1975,22 +1975,22 @@ Unsupported operand types: int ^ resource Unsupported operand types: resource ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ resource -Unsupported operand types: resource ^ non-numeric string -Unsupported operand types: non-numeric string ^ resource -Unsupported operand types: resource ^ non-numeric string -Warning: A non-numeric value encountered -Unsupported operand types: non-numeric string ^ resource -Unsupported operand types: non-numeric string ^ null -Unsupported operand types: null ^ non-numeric string -Unsupported operand types: non-numeric string ^ bool -Unsupported operand types: bool ^ non-numeric string -Unsupported operand types: non-numeric string ^ bool -Unsupported operand types: bool ^ non-numeric string -Unsupported operand types: non-numeric string ^ int -Unsupported operand types: int ^ non-numeric string -Unsupported operand types: non-numeric string ^ float +Unsupported operand types: resource ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ resource +Unsupported operand types: resource ^ non-numeric-string +Warning: A non-numeric value encountered +Unsupported operand types: non-numeric-string ^ resource +Unsupported operand types: non-numeric-string ^ null +Unsupported operand types: null ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ bool +Unsupported operand types: bool ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ bool +Unsupported operand types: bool ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ int +Unsupported operand types: int ^ non-numeric-string +Unsupported operand types: non-numeric-string ^ float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float ^ non-numeric string +Unsupported operand types: float ^ non-numeric-string No error for "foo" ^= "123" No error for "123" ^= "foo" No error for "foo" ^= "123foo" diff --git a/Zend/tests/pipe_operator/type_mismatch.phpt b/Zend/tests/pipe_operator/type_mismatch.phpt index 0603154d255ed..18fbae3afd046 100644 --- a/Zend/tests/pipe_operator/type_mismatch.phpt +++ b/Zend/tests/pipe_operator/type_mismatch.phpt @@ -17,4 +17,4 @@ catch (Throwable $e) { ?> --EXPECTF-- -TypeError: _test(): Argument #1 ($a) must be of type int, non-numeric string given, called in %s on line %d +TypeError: _test(): Argument #1 ($a) must be of type int, non-numeric-string given, called in %s on line %d diff --git a/Zend/tests/self_and.phpt b/Zend/tests/self_and.phpt index ca5879442d630..1262f402a5471 100644 --- a/Zend/tests/self_and.phpt +++ b/Zend/tests/self_and.phpt @@ -32,7 +32,7 @@ echo "Done\n"; ?> --EXPECTF-- int(18) -Unsupported operand types: non-numeric string & int +Unsupported operand types: non-numeric-string & int Warning: A non-numeric value encountered in %s on line %d int(33) diff --git a/Zend/tests/self_mod.phpt b/Zend/tests/self_mod.phpt index 8cfdf763c7b7f..b33d9ad4b7e81 100644 --- a/Zend/tests/self_mod.phpt +++ b/Zend/tests/self_mod.phpt @@ -24,7 +24,7 @@ echo "Done\n"; ?> --EXPECTF-- int(13) -Unsupported operand types: non-numeric string % int +Unsupported operand types: non-numeric-string % int Warning: A non-numeric value encountered in %s on line %d int(3) diff --git a/Zend/tests/self_or.phpt b/Zend/tests/self_or.phpt index 8bc92c46bfbff..d62fdea1cbbf8 100644 --- a/Zend/tests/self_or.phpt +++ b/Zend/tests/self_or.phpt @@ -32,7 +32,7 @@ echo "Done\n"; ?> --EXPECTF-- int(127) -Unsupported operand types: non-numeric string | int +Unsupported operand types: non-numeric-string | int Warning: A non-numeric value encountered in %s on line %d int(45345) diff --git a/Zend/tests/self_xor.phpt b/Zend/tests/self_xor.phpt index 67c6365e6a827..8bfae9ba81cf4 100644 --- a/Zend/tests/self_xor.phpt +++ b/Zend/tests/self_xor.phpt @@ -32,7 +32,7 @@ echo "Done\n"; ?> --EXPECTF-- int(109) -Unsupported operand types: non-numeric string ^ int +Unsupported operand types: non-numeric-string ^ int Warning: A non-numeric value encountered in %s on line %d int(45312) diff --git a/Zend/tests/shift_001.phpt b/Zend/tests/shift_001.phpt index 071d6596989bd..3f5f4af1193b1 100644 --- a/Zend/tests/shift_001.phpt +++ b/Zend/tests/shift_001.phpt @@ -24,7 +24,7 @@ echo "Done\n"; ?> --EXPECTF-- int(492) -Unsupported operand types: non-numeric string << int +Unsupported operand types: non-numeric-string << int Warning: A non-numeric value encountered in %s on line %d int(362760) diff --git a/Zend/tests/shift_002.phpt b/Zend/tests/shift_002.phpt index 6655abb5f0206..20bf6d23e40e9 100644 --- a/Zend/tests/shift_002.phpt +++ b/Zend/tests/shift_002.phpt @@ -24,7 +24,7 @@ echo "Done\n"; ?> --EXPECTF-- int(30) -Unsupported operand types: non-numeric string >> int +Unsupported operand types: non-numeric-string >> int Warning: A non-numeric value encountered in %s on line %d int(5668) diff --git a/Zend/tests/traits/trait_type_errors.phpt b/Zend/tests/traits/trait_type_errors.phpt index 576538c43a2c0..0779f7404183d 100644 --- a/Zend/tests/traits/trait_type_errors.phpt +++ b/Zend/tests/traits/trait_type_errors.phpt @@ -39,5 +39,5 @@ try { ?> --EXPECTF-- C::test1(): Return value must be of type int, string returned -C::test2(): Argument #1 ($arg) must be of type int, non-numeric string given, called in %s on line %d -C::test3(): Argument #1 ($arg) must be of type int, non-numeric string given, called in %s on line %d +C::test2(): Argument #1 ($arg) must be of type int, non-numeric-string given, called in %s on line %d +C::test3(): Argument #1 ($arg) must be of type int, non-numeric-string given, called in %s on line %d diff --git a/Zend/tests/type_declarations/literal_types/false_no_coercion.phpt b/Zend/tests/type_declarations/literal_types/false_no_coercion.phpt index 30c4a543feed3..ad98e0bb3e18d 100644 --- a/Zend/tests/type_declarations/literal_types/false_no_coercion.phpt +++ b/Zend/tests/type_declarations/literal_types/false_no_coercion.phpt @@ -24,5 +24,5 @@ try { ?> --EXPECTF-- test(): Argument #1 ($v) must be of type false, int given, called in %s on line %d -test(): Argument #1 ($v) must be of type false, empty string given, called in %s on line %d +test(): Argument #1 ($v) must be of type false, empty-string given, called in %s on line %d test(): Argument #1 ($v) must be of type false, array given, called in %s on line %d diff --git a/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt b/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt index 5fc2c05a03c5f..508a0085a5743 100644 --- a/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt +++ b/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt @@ -29,6 +29,6 @@ try { ?> --EXPECTF-- test(): Argument #1 ($v) must be of type true, int given, called in %s on line %d -test(): Argument #1 ($v) must be of type true, non-numeric string given, called in %s on line %d +test(): Argument #1 ($v) must be of type true, non-numeric-string given, called in %s on line %d test(): Argument #1 ($v) must be of type true, array given, called in %s on line %d test(): Argument #1 ($v) must be of type true, stdClass given, called in %s on line %d diff --git a/Zend/tests/type_declarations/scalar_basic.phpt b/Zend/tests/type_declarations/scalar_basic.phpt index 7692220f3792c..a9883466bc1d8 100644 --- a/Zend/tests/type_declarations/scalar_basic.phpt +++ b/Zend/tests/type_declarations/scalar_basic.phpt @@ -76,13 +76,13 @@ E_DEPRECATED: Implicit conversion from float 1.5 to int loses precision on line int(1) *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, empty string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, empty-string given, called in %s on line %d *** Trying int(%d) int(%d) @@ -129,13 +129,13 @@ float(1) float(1.5) *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, empty string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, empty-string given, called in %s on line %d *** Trying int(%d) float(%s) diff --git a/Zend/tests/type_declarations/scalar_constant_defaults_error.phpt b/Zend/tests/type_declarations/scalar_constant_defaults_error.phpt index 5f27c2b6964f4..2989a0c0ac546 100644 --- a/Zend/tests/type_declarations/scalar_constant_defaults_error.phpt +++ b/Zend/tests/type_declarations/scalar_constant_defaults_error.phpt @@ -13,7 +13,7 @@ var_dump(int_val()); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: int_val(): Argument #1 ($a) must be of type int, non-numeric string given, called in %s:%d +Fatal error: Uncaught TypeError: int_val(): Argument #1 ($a) must be of type int, non-numeric-string given, called in %s:%d Stack trace: #0 %s(%d): int_val() #1 {main} diff --git a/Zend/tests/type_declarations/scalar_strict_64bit.phpt b/Zend/tests/type_declarations/scalar_strict_64bit.phpt index b9c02f41cfba4..af6471c558a68 100644 --- a/Zend/tests/type_declarations/scalar_strict_64bit.phpt +++ b/Zend/tests/type_declarations/scalar_strict_64bit.phpt @@ -60,7 +60,7 @@ Testing 'int' type: int(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d @@ -69,13 +69,13 @@ int(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, empty string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, empty-string given, called in %s on line %d *** Trying int(9223372036854775807) int(9223372036854775807) @@ -113,7 +113,7 @@ Testing 'float' type: float(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d *** Trying float(1) float(1) @@ -122,13 +122,13 @@ float(1) float(1.5) *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, empty string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, empty-string given, called in %s on line %d *** Trying int(9223372036854775807) float(9.223372036854776E+18) @@ -219,7 +219,7 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric-string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d @@ -228,13 +228,13 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric-string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric-string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, empty string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, empty-string given, called in %s on line %d *** Trying int(9223372036854775807) *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d diff --git a/Zend/tests/type_declarations/scalar_strict_basic.phpt b/Zend/tests/type_declarations/scalar_strict_basic.phpt index d4970d09d22ec..deb344d9e8d5c 100644 --- a/Zend/tests/type_declarations/scalar_strict_basic.phpt +++ b/Zend/tests/type_declarations/scalar_strict_basic.phpt @@ -60,7 +60,7 @@ int(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d *** Trying string value -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d *** Trying true value *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d @@ -89,7 +89,7 @@ float(1) float(1) *** Trying string value -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d *** Trying true value *** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, bool given, called in %s on line %d @@ -147,7 +147,7 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d *** Trying string value -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric-string given, called in %s on line %d *** Trying true value bool(true) diff --git a/Zend/tests/type_declarations/union_types/type_checking_strict.phpt b/Zend/tests/type_declarations/union_types/type_checking_strict.phpt index 89b9043028346..98390cd584285 100644 --- a/Zend/tests/type_declarations/union_types/type_checking_strict.phpt +++ b/Zend/tests/type_declarations/union_types/type_checking_strict.phpt @@ -66,11 +66,11 @@ Type int|float: 42 => 42 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, empty string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric-string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric-string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric-string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric-string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, empty-string given true => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, bool given false => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, bool given null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, null given @@ -82,11 +82,11 @@ Type int|float|false: 42 => 42 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, empty string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric-string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric-string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric-string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric-string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, empty-string given true => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, bool given false => false null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, null given @@ -98,11 +98,11 @@ Type int|float|bool: 42 => 42 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, empty string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric-string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric-string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric-string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric-string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, empty-string given true => true false => false null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, null given @@ -114,11 +114,11 @@ Type int|bool: 42 => 42 42.0 => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, float given INF => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, float given -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, empty string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric-string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric-string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric-string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric-string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, empty-string given true => true false => false null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, null given @@ -162,11 +162,11 @@ Type float|array: 42 => 42.0 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, empty string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric-string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric-string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric-string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric-string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, empty-string given true => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, bool given false => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, bool given null => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, null given @@ -194,11 +194,11 @@ Type bool|array: 42 => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, int given 42.0 => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, float given INF => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, float given -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric string given -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, empty string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric-string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric-string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric-string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric-string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, empty-string given true => true false => false null => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, null given diff --git a/Zend/tests/type_declarations/union_types/type_checking_weak.phpt b/Zend/tests/type_declarations/union_types/type_checking_weak.phpt index cd73334c4a4d2..066e05dc7cb99 100644 --- a/Zend/tests/type_declarations/union_types/type_checking_weak.phpt +++ b/Zend/tests/type_declarations/union_types/type_checking_weak.phpt @@ -66,9 +66,9 @@ Type int|float: INF => INF "42" => 42 "42.0" => 42.0 -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, empty string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric-string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric-string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, empty-string given true => 1 false => 0 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, null given @@ -82,9 +82,9 @@ Type int|float|false: INF => INF "42" => 42 "42.0" => 42.0 -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, empty string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric-string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric-string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, empty-string given true => 1 false => false null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, null given @@ -162,9 +162,9 @@ Type float|array: INF => INF "42" => 42.0 "42.0" => 42.0 -"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given -"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric string given -"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, empty string given +"42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric-string given +"x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric-string given +"" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, empty-string given true => 1.0 false => 0.0 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, null given diff --git a/ext/opcache/tests/jit/add_005.phpt b/ext/opcache/tests/jit/add_005.phpt index 3b671f2a909fd..ee210068a02c1 100644 --- a/ext/opcache/tests/jit/add_005.phpt +++ b/ext/opcache/tests/jit/add_005.phpt @@ -16,7 +16,7 @@ function foo($var) { foo("hello"); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: Unsupported operand types: non-numeric string + int in %s:%d +Fatal error: Uncaught TypeError: Unsupported operand types: non-numeric-string + int in %s:%d Stack trace: #0 %s(%d): foo('hello') #1 {main} diff --git a/ext/opcache/tests/jit/assign_dim_op_001.phpt b/ext/opcache/tests/jit/assign_dim_op_001.phpt index ba7d611bba99a..802807a977c4d 100644 --- a/ext/opcache/tests/jit/assign_dim_op_001.phpt +++ b/ext/opcache/tests/jit/assign_dim_op_001.phpt @@ -104,4 +104,4 @@ array(1) { Deprecated: Automatic conversion of false to array is deprecated in %s on line %d Cannot access offset of type array on array -Unsupported operand types: null % empty string +Unsupported operand types: null % empty-string diff --git a/ext/opcache/tests/jit/mul_005.phpt b/ext/opcache/tests/jit/mul_005.phpt index 0c3102a243232..9ceafb5af72b9 100644 --- a/ext/opcache/tests/jit/mul_005.phpt +++ b/ext/opcache/tests/jit/mul_005.phpt @@ -21,4 +21,4 @@ try { } ?> --EXPECT-- -Unsupported operand types: non-numeric string * int +Unsupported operand types: non-numeric-string * int diff --git a/ext/opcache/tests/jit/mul_010.phpt b/ext/opcache/tests/jit/mul_010.phpt index eec053b37e671..7450cf00141b4 100644 --- a/ext/opcache/tests/jit/mul_010.phpt +++ b/ext/opcache/tests/jit/mul_010.phpt @@ -29,4 +29,4 @@ try { } ?> --EXPECT-- -Unsupported operand types: non-numeric string * float +Unsupported operand types: non-numeric-string * float diff --git a/ext/pdo/tests/pdo_fetch_function_incorrect_call.phpt b/ext/pdo/tests/pdo_fetch_function_incorrect_call.phpt index 19d49342a4c71..e7e1288711f29 100644 --- a/ext/pdo/tests/pdo_fetch_function_incorrect_call.phpt +++ b/ext/pdo/tests/pdo_fetch_function_incorrect_call.phpt @@ -47,4 +47,4 @@ PDOTest::dropTableIfExists($db, "pdo_fetch_function_incorrect_call"); ?> --EXPECT-- Fetch all with bogus call: -TypeError: bogusCallback(): Argument #1 ($obj) must be of type stdClass, non-numeric string given +TypeError: bogusCallback(): Argument #1 ($obj) must be of type stdClass, non-numeric-string given diff --git a/ext/standard/tests/math/pow_variation1_64bit.phpt b/ext/standard/tests/math/pow_variation1_64bit.phpt index d292b21ea4431..bfccaf8e5ee82 100644 --- a/ext/standard/tests/math/pow_variation1_64bit.phpt +++ b/ext/standard/tests/math/pow_variation1_64bit.phpt @@ -78,9 +78,9 @@ float(0.125) int(0) int(1) int(0) -Unsupported operand types: empty string ** int +Unsupported operand types: empty-string ** int Unsupported operand types: array ** int -Unsupported operand types: non-numeric string ** int +Unsupported operand types: non-numeric-string ** int float(1157.625) int(8) float(0.000250047) diff --git a/ext/standard/tests/math/pow_variation2.phpt b/ext/standard/tests/math/pow_variation2.phpt index bb5832df4e596..1f7e103215c94 100644 --- a/ext/standard/tests/math/pow_variation2.phpt +++ b/ext/standard/tests/math/pow_variation2.phpt @@ -74,9 +74,9 @@ float(4.5055521304275) float(1) float(20.3) float(1) -Unsupported operand types: float ** empty string +Unsupported operand types: float ** empty-string Unsupported operand types: float ** array -Unsupported operand types: float ** non-numeric string +Unsupported operand types: float ** non-numeric-string float(15532029.564086) float(412.09) float(1.2088495422866) diff --git a/ext/zend_test/tests/zend_object_init_with_constructor.phpt b/ext/zend_test/tests/zend_object_init_with_constructor.phpt index 1a433d33ec2e8..bf45bd7c49155 100644 --- a/ext/zend_test/tests/zend_object_init_with_constructor.phpt +++ b/ext/zend_test/tests/zend_object_init_with_constructor.phpt @@ -150,7 +150,7 @@ Error: Call to private PrivateUser::__construct() from global scope Exception: Don't construct Testing param passing ArgumentCountError: Too few arguments to function TestUserWithConstructorArgs::__construct(), 0 passed and exactly 2 expected -TypeError: TestUserWithConstructorArgs::__construct(): Argument #1 ($int_param) must be of type int, non-numeric string given +TypeError: TestUserWithConstructorArgs::__construct(): Argument #1 ($int_param) must be of type int, non-numeric-string given Error: Unknown named parameter $unused_param object(TestUserWithConstructorArgs)#1 (0) { } diff --git a/tests/lang/bug28800.phpt b/tests/lang/bug28800.phpt index 54dc7e7f63a9c..5c98f198d3066 100644 --- a/tests/lang/bug28800.phpt +++ b/tests/lang/bug28800.phpt @@ -12,10 +12,10 @@ Bug #28800 (Incorrect string to number conversion for strings starting with 'inf } ?> --EXPECT-- -Unsupported operand types: non-numeric string + int -Unsupported operand types: non-numeric string + int -Unsupported operand types: non-numeric string + int -Unsupported operand types: non-numeric string + int -Unsupported operand types: non-numeric string + int -Unsupported operand types: non-numeric string + int +Unsupported operand types: non-numeric-string + int +Unsupported operand types: non-numeric-string + int +Unsupported operand types: non-numeric-string + int +Unsupported operand types: non-numeric-string + int +Unsupported operand types: non-numeric-string + int +Unsupported operand types: non-numeric-string + int diff --git a/tests/lang/operators/add_variationStr.phpt b/tests/lang/operators/add_variationStr.phpt index a034f579adfa1..92ba6ad92ef28 100644 --- a/tests/lang/operators/add_variationStr.phpt +++ b/tests/lang/operators/add_variationStr.phpt @@ -34,7 +34,7 @@ float(1.2) --- testing: '0' + '-7.7' --- float(-7.7) --- testing: '0' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '0' + '123abc' --- int(123) --- testing: '0' + '123e5' --- @@ -50,7 +50,7 @@ int(123) --- testing: '0' + '3.4a' --- float(3.4) --- testing: '0' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '65' + '0' --- int(65) --- testing: '65' + '65' --- @@ -62,7 +62,7 @@ float(66.2) --- testing: '65' + '-7.7' --- float(57.3) --- testing: '65' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '65' + '123abc' --- int(188) --- testing: '65' + '123e5' --- @@ -78,7 +78,7 @@ int(188) --- testing: '65' + '3.4a' --- float(68.4) --- testing: '65' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '-44' + '0' --- int(-44) --- testing: '-44' + '65' --- @@ -90,7 +90,7 @@ float(-42.8) --- testing: '-44' + '-7.7' --- float(-51.7) --- testing: '-44' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '-44' + '123abc' --- int(79) --- testing: '-44' + '123e5' --- @@ -106,7 +106,7 @@ int(79) --- testing: '-44' + '3.4a' --- float(-40.6) --- testing: '-44' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '1.2' + '0' --- float(1.2) --- testing: '1.2' + '65' --- @@ -118,7 +118,7 @@ float(2.4) --- testing: '1.2' + '-7.7' --- float(-6.5) --- testing: '1.2' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '1.2' + '123abc' --- float(124.2) --- testing: '1.2' + '123e5' --- @@ -134,7 +134,7 @@ float(124.2) --- testing: '1.2' + '3.4a' --- float(4.6) --- testing: '1.2' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '-7.7' + '0' --- float(-7.7) --- testing: '-7.7' + '65' --- @@ -146,7 +146,7 @@ float(-6.5) --- testing: '-7.7' + '-7.7' --- float(-15.4) --- testing: '-7.7' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '-7.7' + '123abc' --- float(115.3) --- testing: '-7.7' + '123e5' --- @@ -162,35 +162,35 @@ float(115.3) --- testing: '-7.7' + '3.4a' --- float(-4.300000000000001) --- testing: '-7.7' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '0' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '65' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '-44' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '1.2' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '-7.7' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '123abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '123e5' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '123e5xyz' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + ' 123abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '123 abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '123abc ' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '3.4a' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '123abc' + '0' --- int(123) --- testing: '123abc' + '65' --- @@ -202,7 +202,7 @@ float(124.2) --- testing: '123abc' + '-7.7' --- float(115.3) --- testing: '123abc' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '123abc' + '123abc' --- int(246) --- testing: '123abc' + '123e5' --- @@ -218,7 +218,7 @@ int(246) --- testing: '123abc' + '3.4a' --- float(126.4) --- testing: '123abc' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '123e5' + '0' --- float(12300000) --- testing: '123e5' + '65' --- @@ -230,7 +230,7 @@ float(12300001.2) --- testing: '123e5' + '-7.7' --- float(12299992.3) --- testing: '123e5' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '123e5' + '123abc' --- float(12300123) --- testing: '123e5' + '123e5' --- @@ -246,7 +246,7 @@ float(12300123) --- testing: '123e5' + '3.4a' --- float(12300003.4) --- testing: '123e5' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '123e5xyz' + '0' --- float(12300000) --- testing: '123e5xyz' + '65' --- @@ -258,7 +258,7 @@ float(12300001.2) --- testing: '123e5xyz' + '-7.7' --- float(12299992.3) --- testing: '123e5xyz' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '123e5xyz' + '123abc' --- float(12300123) --- testing: '123e5xyz' + '123e5' --- @@ -274,7 +274,7 @@ float(12300123) --- testing: '123e5xyz' + '3.4a' --- float(12300003.4) --- testing: '123e5xyz' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: ' 123abc' + '0' --- int(123) --- testing: ' 123abc' + '65' --- @@ -286,7 +286,7 @@ float(124.2) --- testing: ' 123abc' + '-7.7' --- float(115.3) --- testing: ' 123abc' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: ' 123abc' + '123abc' --- int(246) --- testing: ' 123abc' + '123e5' --- @@ -302,7 +302,7 @@ int(246) --- testing: ' 123abc' + '3.4a' --- float(126.4) --- testing: ' 123abc' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '123 abc' + '0' --- int(123) --- testing: '123 abc' + '65' --- @@ -314,7 +314,7 @@ float(124.2) --- testing: '123 abc' + '-7.7' --- float(115.3) --- testing: '123 abc' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '123 abc' + '123abc' --- int(246) --- testing: '123 abc' + '123e5' --- @@ -330,7 +330,7 @@ int(246) --- testing: '123 abc' + '3.4a' --- float(126.4) --- testing: '123 abc' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '123abc ' + '0' --- int(123) --- testing: '123abc ' + '65' --- @@ -342,7 +342,7 @@ float(124.2) --- testing: '123abc ' + '-7.7' --- float(115.3) --- testing: '123abc ' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '123abc ' + '123abc' --- int(246) --- testing: '123abc ' + '123e5' --- @@ -358,7 +358,7 @@ int(246) --- testing: '123abc ' + '3.4a' --- float(126.4) --- testing: '123abc ' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '3.4a' + '0' --- float(3.4) --- testing: '3.4a' + '65' --- @@ -370,7 +370,7 @@ float(4.6) --- testing: '3.4a' + '-7.7' --- float(-4.300000000000001) --- testing: '3.4a' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: '3.4a' + '123abc' --- float(126.4) --- testing: '3.4a' + '123e5' --- @@ -386,32 +386,32 @@ float(126.4) --- testing: '3.4a' + '3.4a' --- float(6.8) --- testing: '3.4a' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '0' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '65' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '-44' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '1.2' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '-7.7' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + 'abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '123abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '123e5' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '123e5xyz' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + ' 123abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '123 abc' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '123abc ' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '3.4a' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + 'a5.9' --- -Unsupported operand types: non-numeric string + non-numeric string +Unsupported operand types: non-numeric-string + non-numeric-string diff --git a/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt b/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt index e4b361b2e91d2..59e6201701538 100644 --- a/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt +++ b/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt @@ -34,7 +34,7 @@ int(0) --- testing: '0' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '0' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '0' << '123abc' --- int(0) --- testing: '0' << '123e5' --- @@ -50,7 +50,7 @@ int(0) --- testing: '0' << '3.4a' --- int(0) --- testing: '0' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '65' << '0' --- int(65) --- testing: '65' << '65' --- @@ -62,7 +62,7 @@ int(130) --- testing: '65' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '65' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '65' << '123abc' --- int(0) --- testing: '65' << '123e5' --- @@ -78,7 +78,7 @@ int(0) --- testing: '65' << '3.4a' --- int(520) --- testing: '65' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '-44' << '0' --- int(-44) --- testing: '-44' << '65' --- @@ -90,7 +90,7 @@ int(-88) --- testing: '-44' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-44' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '-44' << '123abc' --- int(0) --- testing: '-44' << '123e5' --- @@ -106,7 +106,7 @@ int(0) --- testing: '-44' << '3.4a' --- int(-352) --- testing: '-44' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '1.2' << '0' --- int(1) --- testing: '1.2' << '65' --- @@ -118,7 +118,7 @@ int(2) --- testing: '1.2' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '1.2' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '1.2' << '123abc' --- int(0) --- testing: '1.2' << '123e5' --- @@ -134,7 +134,7 @@ int(0) --- testing: '1.2' << '3.4a' --- int(8) --- testing: '1.2' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '-7.7' << '0' --- int(-7) --- testing: '-7.7' << '65' --- @@ -146,7 +146,7 @@ int(-14) --- testing: '-7.7' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-7.7' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '-7.7' << '123abc' --- int(0) --- testing: '-7.7' << '123e5' --- @@ -162,35 +162,35 @@ int(0) --- testing: '-7.7' << '3.4a' --- int(-56) --- testing: '-7.7' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '0' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '65' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '-44' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '1.2' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '-7.7' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123e5' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123e5xyz' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << ' 123abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123 abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123abc ' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '3.4a' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123abc' << '0' --- int(123) --- testing: '123abc' << '65' --- @@ -202,7 +202,7 @@ int(246) --- testing: '123abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123abc' << '123abc' --- int(0) --- testing: '123abc' << '123e5' --- @@ -218,7 +218,7 @@ int(0) --- testing: '123abc' << '3.4a' --- int(984) --- testing: '123abc' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123e5' << '0' --- int(12300000) --- testing: '123e5' << '65' --- @@ -230,7 +230,7 @@ int(24600000) --- testing: '123e5' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123e5' << '123abc' --- int(0) --- testing: '123e5' << '123e5' --- @@ -246,7 +246,7 @@ int(0) --- testing: '123e5' << '3.4a' --- int(98400000) --- testing: '123e5' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123e5xyz' << '0' --- int(12300000) --- testing: '123e5xyz' << '65' --- @@ -258,7 +258,7 @@ int(24600000) --- testing: '123e5xyz' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5xyz' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123e5xyz' << '123abc' --- int(0) --- testing: '123e5xyz' << '123e5' --- @@ -274,7 +274,7 @@ int(0) --- testing: '123e5xyz' << '3.4a' --- int(98400000) --- testing: '123e5xyz' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: ' 123abc' << '0' --- int(123) --- testing: ' 123abc' << '65' --- @@ -286,7 +286,7 @@ int(246) --- testing: ' 123abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: ' 123abc' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: ' 123abc' << '123abc' --- int(0) --- testing: ' 123abc' << '123e5' --- @@ -302,7 +302,7 @@ int(0) --- testing: ' 123abc' << '3.4a' --- int(984) --- testing: ' 123abc' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123 abc' << '0' --- int(123) --- testing: '123 abc' << '65' --- @@ -314,7 +314,7 @@ int(246) --- testing: '123 abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123 abc' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123 abc' << '123abc' --- int(0) --- testing: '123 abc' << '123e5' --- @@ -330,7 +330,7 @@ int(0) --- testing: '123 abc' << '3.4a' --- int(984) --- testing: '123 abc' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123abc ' << '0' --- int(123) --- testing: '123abc ' << '65' --- @@ -342,7 +342,7 @@ int(246) --- testing: '123abc ' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc ' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123abc ' << '123abc' --- int(0) --- testing: '123abc ' << '123e5' --- @@ -358,7 +358,7 @@ int(0) --- testing: '123abc ' << '3.4a' --- int(984) --- testing: '123abc ' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '3.4a' << '0' --- int(3) --- testing: '3.4a' << '65' --- @@ -370,7 +370,7 @@ int(6) --- testing: '3.4a' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '3.4a' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '3.4a' << '123abc' --- int(0) --- testing: '3.4a' << '123e5' --- @@ -386,32 +386,32 @@ int(0) --- testing: '3.4a' << '3.4a' --- int(24) --- testing: '3.4a' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '0' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '65' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '-44' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '1.2' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '-7.7' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123e5' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123e5xyz' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << ' 123abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123 abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123abc ' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '3.4a' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string diff --git a/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt b/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt index 91406b0e8265c..748f933159619 100644 --- a/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt +++ b/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt @@ -39,7 +39,7 @@ int(0) --- testing: '0' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '0' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '0' << '123abc' --- int(0) --- testing: '0' << '123e5' --- @@ -55,7 +55,7 @@ int(0) --- testing: '0' << '3.4a' --- int(0) --- testing: '0' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '65' << '0' --- int(65) --- testing: '65' << '65' --- @@ -67,7 +67,7 @@ int(130) --- testing: '65' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '65' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '65' << '123abc' --- int(0) --- testing: '65' << '123e5' --- @@ -83,7 +83,7 @@ int(0) --- testing: '65' << '3.4a' --- int(520) --- testing: '65' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '-44' << '0' --- int(-44) --- testing: '-44' << '65' --- @@ -95,7 +95,7 @@ int(-88) --- testing: '-44' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-44' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '-44' << '123abc' --- int(0) --- testing: '-44' << '123e5' --- @@ -111,7 +111,7 @@ int(0) --- testing: '-44' << '3.4a' --- int(-352) --- testing: '-44' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '1.2' << '0' --- int(1) --- testing: '1.2' << '65' --- @@ -123,7 +123,7 @@ int(2) --- testing: '1.2' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '1.2' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '1.2' << '123abc' --- int(0) --- testing: '1.2' << '123e5' --- @@ -139,7 +139,7 @@ int(0) --- testing: '1.2' << '3.4a' --- int(8) --- testing: '1.2' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '-7.7' << '0' --- int(-7) --- testing: '-7.7' << '65' --- @@ -151,7 +151,7 @@ int(-14) --- testing: '-7.7' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-7.7' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '-7.7' << '123abc' --- int(0) --- testing: '-7.7' << '123e5' --- @@ -167,35 +167,35 @@ int(0) --- testing: '-7.7' << '3.4a' --- int(-56) --- testing: '-7.7' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '0' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '65' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '-44' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '1.2' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '-7.7' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123e5' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123e5xyz' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << ' 123abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123 abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123abc ' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '3.4a' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123abc' << '0' --- int(123) --- testing: '123abc' << '65' --- @@ -207,7 +207,7 @@ int(246) --- testing: '123abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123abc' << '123abc' --- int(0) --- testing: '123abc' << '123e5' --- @@ -223,7 +223,7 @@ int(0) --- testing: '123abc' << '3.4a' --- int(984) --- testing: '123abc' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123e5' << '0' --- int(12300000) --- testing: '123e5' << '65' --- @@ -235,7 +235,7 @@ int(24600000) --- testing: '123e5' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123e5' << '123abc' --- int(0) --- testing: '123e5' << '123e5' --- @@ -251,7 +251,7 @@ int(0) --- testing: '123e5' << '3.4a' --- int(98400000) --- testing: '123e5' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123e5xyz' << '0' --- int(12300000) --- testing: '123e5xyz' << '65' --- @@ -263,7 +263,7 @@ int(24600000) --- testing: '123e5xyz' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5xyz' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123e5xyz' << '123abc' --- int(0) --- testing: '123e5xyz' << '123e5' --- @@ -279,7 +279,7 @@ int(0) --- testing: '123e5xyz' << '3.4a' --- int(98400000) --- testing: '123e5xyz' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: ' 123abc' << '0' --- int(123) --- testing: ' 123abc' << '65' --- @@ -291,7 +291,7 @@ int(246) --- testing: ' 123abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: ' 123abc' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: ' 123abc' << '123abc' --- int(0) --- testing: ' 123abc' << '123e5' --- @@ -307,7 +307,7 @@ int(0) --- testing: ' 123abc' << '3.4a' --- int(984) --- testing: ' 123abc' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123 abc' << '0' --- int(123) --- testing: '123 abc' << '65' --- @@ -319,7 +319,7 @@ int(246) --- testing: '123 abc' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123 abc' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123 abc' << '123abc' --- int(0) --- testing: '123 abc' << '123e5' --- @@ -335,7 +335,7 @@ int(0) --- testing: '123 abc' << '3.4a' --- int(984) --- testing: '123 abc' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123abc ' << '0' --- int(123) --- testing: '123abc ' << '65' --- @@ -347,7 +347,7 @@ int(246) --- testing: '123abc ' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc ' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '123abc ' << '123abc' --- int(0) --- testing: '123abc ' << '123e5' --- @@ -363,7 +363,7 @@ int(0) --- testing: '123abc ' << '3.4a' --- int(984) --- testing: '123abc ' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '3.4a' << '0' --- int(3) --- testing: '3.4a' << '65' --- @@ -375,7 +375,7 @@ int(6) --- testing: '3.4a' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '3.4a' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: '3.4a' << '123abc' --- int(0) --- testing: '3.4a' << '123e5' --- @@ -391,32 +391,32 @@ int(0) --- testing: '3.4a' << '3.4a' --- int(24) --- testing: '3.4a' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '0' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '65' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '-44' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '1.2' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '-7.7' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << 'abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123e5' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123e5xyz' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << ' 123abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123 abc' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123abc ' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '3.4a' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string << non-numeric string +TypeError: Unsupported operand types: non-numeric-string << non-numeric-string diff --git a/tests/lang/operators/bitwiseShiftRight_variationStr.phpt b/tests/lang/operators/bitwiseShiftRight_variationStr.phpt index 8e31771af2cce..ac49dbc208c5d 100644 --- a/tests/lang/operators/bitwiseShiftRight_variationStr.phpt +++ b/tests/lang/operators/bitwiseShiftRight_variationStr.phpt @@ -35,7 +35,7 @@ int(0) --- testing: '0' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '0' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '0' >> '123abc' --- int(0) --- testing: '0' >> '123e5' --- @@ -51,7 +51,7 @@ int(0) --- testing: '0' >> '3.4a' --- int(0) --- testing: '0' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '65' >> '0' --- int(65) --- testing: '65' >> '65' --- @@ -63,7 +63,7 @@ int(32) --- testing: '65' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '65' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '65' >> '123abc' --- int(0) --- testing: '65' >> '123e5' --- @@ -79,7 +79,7 @@ int(0) --- testing: '65' >> '3.4a' --- int(8) --- testing: '65' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '-44' >> '0' --- int(-44) --- testing: '-44' >> '65' --- @@ -91,7 +91,7 @@ int(-22) --- testing: '-44' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-44' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '-44' >> '123abc' --- int(-1) --- testing: '-44' >> '123e5' --- @@ -107,7 +107,7 @@ int(-1) --- testing: '-44' >> '3.4a' --- int(-6) --- testing: '-44' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '1.2' >> '0' --- int(1) --- testing: '1.2' >> '65' --- @@ -119,7 +119,7 @@ int(0) --- testing: '1.2' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '1.2' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '1.2' >> '123abc' --- int(0) --- testing: '1.2' >> '123e5' --- @@ -135,7 +135,7 @@ int(0) --- testing: '1.2' >> '3.4a' --- int(0) --- testing: '1.2' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '-7.7' >> '0' --- int(-7) --- testing: '-7.7' >> '65' --- @@ -147,7 +147,7 @@ int(-4) --- testing: '-7.7' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-7.7' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '-7.7' >> '123abc' --- int(-1) --- testing: '-7.7' >> '123e5' --- @@ -163,35 +163,35 @@ int(-1) --- testing: '-7.7' >> '3.4a' --- int(-1) --- testing: '-7.7' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '0' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '65' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '-44' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '1.2' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '-7.7' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '123abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '123e5' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '123e5xyz' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> ' 123abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '123 abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '123abc ' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '3.4a' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '123abc' >> '0' --- int(123) --- testing: '123abc' >> '65' --- @@ -203,7 +203,7 @@ int(61) --- testing: '123abc' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '123abc' >> '123abc' --- int(0) --- testing: '123abc' >> '123e5' --- @@ -219,7 +219,7 @@ int(0) --- testing: '123abc' >> '3.4a' --- int(15) --- testing: '123abc' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '123e5' >> '0' --- int(12300000) --- testing: '123e5' >> '65' --- @@ -231,7 +231,7 @@ int(6150000) --- testing: '123e5' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '123e5' >> '123abc' --- int(0) --- testing: '123e5' >> '123e5' --- @@ -247,7 +247,7 @@ int(0) --- testing: '123e5' >> '3.4a' --- int(1537500) --- testing: '123e5' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '123e5xyz' >> '0' --- int(12300000) --- testing: '123e5xyz' >> '65' --- @@ -259,7 +259,7 @@ int(6150000) --- testing: '123e5xyz' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5xyz' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '123e5xyz' >> '123abc' --- int(0) --- testing: '123e5xyz' >> '123e5' --- @@ -275,7 +275,7 @@ int(0) --- testing: '123e5xyz' >> '3.4a' --- int(1537500) --- testing: '123e5xyz' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: ' 123abc' >> '0' --- int(123) --- testing: ' 123abc' >> '65' --- @@ -287,7 +287,7 @@ int(61) --- testing: ' 123abc' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: ' 123abc' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: ' 123abc' >> '123abc' --- int(0) --- testing: ' 123abc' >> '123e5' --- @@ -303,7 +303,7 @@ int(0) --- testing: ' 123abc' >> '3.4a' --- int(15) --- testing: ' 123abc' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '123 abc' >> '0' --- int(123) --- testing: '123 abc' >> '65' --- @@ -315,7 +315,7 @@ int(61) --- testing: '123 abc' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123 abc' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '123 abc' >> '123abc' --- int(0) --- testing: '123 abc' >> '123e5' --- @@ -331,7 +331,7 @@ int(0) --- testing: '123 abc' >> '3.4a' --- int(15) --- testing: '123 abc' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '123abc ' >> '0' --- int(123) --- testing: '123abc ' >> '65' --- @@ -343,7 +343,7 @@ int(61) --- testing: '123abc ' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123abc ' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '123abc ' >> '123abc' --- int(0) --- testing: '123abc ' >> '123e5' --- @@ -359,7 +359,7 @@ int(0) --- testing: '123abc ' >> '3.4a' --- int(15) --- testing: '123abc ' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '3.4a' >> '0' --- int(3) --- testing: '3.4a' >> '65' --- @@ -371,7 +371,7 @@ int(1) --- testing: '3.4a' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '3.4a' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: '3.4a' >> '123abc' --- int(0) --- testing: '3.4a' >> '123e5' --- @@ -387,32 +387,32 @@ int(0) --- testing: '3.4a' >> '3.4a' --- int(0) --- testing: '3.4a' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '0' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '65' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '-44' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '1.2' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '-7.7' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '123abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '123e5' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '123e5xyz' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> ' 123abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '123 abc' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '123abc ' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '3.4a' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string >> non-numeric string +TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string diff --git a/tests/lang/operators/divide_variationStr.phpt b/tests/lang/operators/divide_variationStr.phpt index b38b35612b785..59be9438dbf34 100644 --- a/tests/lang/operators/divide_variationStr.phpt +++ b/tests/lang/operators/divide_variationStr.phpt @@ -37,7 +37,7 @@ float(0) --- testing: '0'/'-7.7' --- float(-0) --- testing: '0'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '0'/'123abc' --- int(0) --- testing: '0'/'123e5' --- @@ -53,7 +53,7 @@ int(0) --- testing: '0'/'3.4a' --- float(0) --- testing: '0'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '65'/'0' --- Division by zero --- testing: '65'/'65' --- @@ -65,7 +65,7 @@ float(54.16666666666667) --- testing: '65'/'-7.7' --- float(-8.441558441558442) --- testing: '65'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '65'/'123abc' --- float(0.5284552845528455) --- testing: '65'/'123e5' --- @@ -81,7 +81,7 @@ float(0.5284552845528455) --- testing: '65'/'3.4a' --- float(19.11764705882353) --- testing: '65'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '-44'/'0' --- Division by zero --- testing: '-44'/'65' --- @@ -93,7 +93,7 @@ float(-36.66666666666667) --- testing: '-44'/'-7.7' --- float(5.714285714285714) --- testing: '-44'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '-44'/'123abc' --- float(-0.35772357723577236) --- testing: '-44'/'123e5' --- @@ -109,7 +109,7 @@ float(-0.35772357723577236) --- testing: '-44'/'3.4a' --- float(-12.941176470588236) --- testing: '-44'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '1.2'/'0' --- Division by zero --- testing: '1.2'/'65' --- @@ -121,7 +121,7 @@ float(1) --- testing: '1.2'/'-7.7' --- float(-0.15584415584415584) --- testing: '1.2'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '1.2'/'123abc' --- float(0.00975609756097561) --- testing: '1.2'/'123e5' --- @@ -137,7 +137,7 @@ float(0.00975609756097561) --- testing: '1.2'/'3.4a' --- float(0.35294117647058826) --- testing: '1.2'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '-7.7'/'0' --- Division by zero --- testing: '-7.7'/'65' --- @@ -149,7 +149,7 @@ float(-6.416666666666667) --- testing: '-7.7'/'-7.7' --- float(1) --- testing: '-7.7'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '-7.7'/'123abc' --- float(-0.06260162601626017) --- testing: '-7.7'/'123e5' --- @@ -165,35 +165,35 @@ float(-0.06260162601626017) --- testing: '-7.7'/'3.4a' --- float(-2.264705882352941) --- testing: '-7.7'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'0' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'65' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'-44' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'1.2' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'-7.7' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'123abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'123e5' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'123e5xyz' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/' 123abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'123 abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'123abc ' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'3.4a' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '123abc'/'0' --- Division by zero --- testing: '123abc'/'65' --- @@ -205,7 +205,7 @@ float(102.5) --- testing: '123abc'/'-7.7' --- float(-15.974025974025974) --- testing: '123abc'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '123abc'/'123abc' --- int(1) --- testing: '123abc'/'123e5' --- @@ -221,7 +221,7 @@ int(1) --- testing: '123abc'/'3.4a' --- float(36.1764705882353) --- testing: '123abc'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '123e5'/'0' --- Division by zero --- testing: '123e5'/'65' --- @@ -233,7 +233,7 @@ float(10250000) --- testing: '123e5'/'-7.7' --- float(-1597402.5974025973) --- testing: '123e5'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '123e5'/'123abc' --- float(100000) --- testing: '123e5'/'123e5' --- @@ -249,7 +249,7 @@ float(100000) --- testing: '123e5'/'3.4a' --- float(3617647.0588235296) --- testing: '123e5'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '123e5xyz'/'0' --- Division by zero --- testing: '123e5xyz'/'65' --- @@ -261,7 +261,7 @@ float(10250000) --- testing: '123e5xyz'/'-7.7' --- float(-1597402.5974025973) --- testing: '123e5xyz'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '123e5xyz'/'123abc' --- float(100000) --- testing: '123e5xyz'/'123e5' --- @@ -277,7 +277,7 @@ float(100000) --- testing: '123e5xyz'/'3.4a' --- float(3617647.0588235296) --- testing: '123e5xyz'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: ' 123abc'/'0' --- Division by zero --- testing: ' 123abc'/'65' --- @@ -289,7 +289,7 @@ float(102.5) --- testing: ' 123abc'/'-7.7' --- float(-15.974025974025974) --- testing: ' 123abc'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: ' 123abc'/'123abc' --- int(1) --- testing: ' 123abc'/'123e5' --- @@ -305,7 +305,7 @@ int(1) --- testing: ' 123abc'/'3.4a' --- float(36.1764705882353) --- testing: ' 123abc'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '123 abc'/'0' --- Division by zero --- testing: '123 abc'/'65' --- @@ -317,7 +317,7 @@ float(102.5) --- testing: '123 abc'/'-7.7' --- float(-15.974025974025974) --- testing: '123 abc'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '123 abc'/'123abc' --- int(1) --- testing: '123 abc'/'123e5' --- @@ -333,7 +333,7 @@ int(1) --- testing: '123 abc'/'3.4a' --- float(36.1764705882353) --- testing: '123 abc'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '123abc '/'0' --- Division by zero --- testing: '123abc '/'65' --- @@ -345,7 +345,7 @@ float(102.5) --- testing: '123abc '/'-7.7' --- float(-15.974025974025974) --- testing: '123abc '/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '123abc '/'123abc' --- int(1) --- testing: '123abc '/'123e5' --- @@ -361,7 +361,7 @@ int(1) --- testing: '123abc '/'3.4a' --- float(36.1764705882353) --- testing: '123abc '/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '3.4a'/'0' --- Division by zero --- testing: '3.4a'/'65' --- @@ -373,7 +373,7 @@ float(2.8333333333333335) --- testing: '3.4a'/'-7.7' --- float(-0.44155844155844154) --- testing: '3.4a'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: '3.4a'/'123abc' --- float(0.027642276422764227) --- testing: '3.4a'/'123e5' --- @@ -389,32 +389,32 @@ float(0.027642276422764227) --- testing: '3.4a'/'3.4a' --- float(1) --- testing: '3.4a'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'0' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'65' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'-44' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'1.2' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'-7.7' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'123abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'123e5' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'123e5xyz' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/' 123abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'123 abc' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'123abc ' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'3.4a' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'a5.9' --- -Unsupported operand types: non-numeric string / non-numeric string +Unsupported operand types: non-numeric-string / non-numeric-string diff --git a/tests/lang/operators/modulus_variationStr.phpt b/tests/lang/operators/modulus_variationStr.phpt index 0f91e396c87ed..cd2259dff04d5 100644 --- a/tests/lang/operators/modulus_variationStr.phpt +++ b/tests/lang/operators/modulus_variationStr.phpt @@ -35,7 +35,7 @@ int(0) --- testing: '0' % '-7.7' --- int(0) --- testing: '0' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '0' % '123abc' --- int(0) --- testing: '0' % '123e5' --- @@ -51,7 +51,7 @@ int(0) --- testing: '0' % '3.4a' --- int(0) --- testing: '0' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '65' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '65' % '65' --- @@ -63,7 +63,7 @@ int(0) --- testing: '65' % '-7.7' --- int(2) --- testing: '65' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '65' % '123abc' --- int(65) --- testing: '65' % '123e5' --- @@ -79,7 +79,7 @@ int(65) --- testing: '65' % '3.4a' --- int(2) --- testing: '65' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '-44' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '-44' % '65' --- @@ -91,7 +91,7 @@ int(0) --- testing: '-44' % '-7.7' --- int(-2) --- testing: '-44' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '-44' % '123abc' --- int(-44) --- testing: '-44' % '123e5' --- @@ -107,7 +107,7 @@ int(-44) --- testing: '-44' % '3.4a' --- int(-2) --- testing: '-44' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '1.2' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '1.2' % '65' --- @@ -119,7 +119,7 @@ int(0) --- testing: '1.2' % '-7.7' --- int(1) --- testing: '1.2' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '1.2' % '123abc' --- int(1) --- testing: '1.2' % '123e5' --- @@ -135,7 +135,7 @@ int(1) --- testing: '1.2' % '3.4a' --- int(1) --- testing: '1.2' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '-7.7' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '-7.7' % '65' --- @@ -147,7 +147,7 @@ int(0) --- testing: '-7.7' % '-7.7' --- int(0) --- testing: '-7.7' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '-7.7' % '123abc' --- int(-7) --- testing: '-7.7' % '123e5' --- @@ -163,35 +163,35 @@ int(-7) --- testing: '-7.7' % '3.4a' --- int(-1) --- testing: '-7.7' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '0' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '65' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '-44' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '1.2' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '-7.7' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '123abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '123e5' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '123e5xyz' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % ' 123abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '123 abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '123abc ' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '3.4a' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '123abc' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '123abc' % '65' --- @@ -203,7 +203,7 @@ int(0) --- testing: '123abc' % '-7.7' --- int(4) --- testing: '123abc' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '123abc' % '123abc' --- int(0) --- testing: '123abc' % '123e5' --- @@ -219,7 +219,7 @@ int(0) --- testing: '123abc' % '3.4a' --- int(0) --- testing: '123abc' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '123e5' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '123e5' % '65' --- @@ -231,7 +231,7 @@ int(0) --- testing: '123e5' % '-7.7' --- int(6) --- testing: '123e5' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '123e5' % '123abc' --- int(0) --- testing: '123e5' % '123e5' --- @@ -247,7 +247,7 @@ int(0) --- testing: '123e5' % '3.4a' --- int(0) --- testing: '123e5' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '123e5xyz' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '123e5xyz' % '65' --- @@ -259,7 +259,7 @@ int(0) --- testing: '123e5xyz' % '-7.7' --- int(6) --- testing: '123e5xyz' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '123e5xyz' % '123abc' --- int(0) --- testing: '123e5xyz' % '123e5' --- @@ -275,7 +275,7 @@ int(0) --- testing: '123e5xyz' % '3.4a' --- int(0) --- testing: '123e5xyz' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: ' 123abc' % '0' --- DivisionByZeroError: Modulo by zero --- testing: ' 123abc' % '65' --- @@ -287,7 +287,7 @@ int(0) --- testing: ' 123abc' % '-7.7' --- int(4) --- testing: ' 123abc' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: ' 123abc' % '123abc' --- int(0) --- testing: ' 123abc' % '123e5' --- @@ -303,7 +303,7 @@ int(0) --- testing: ' 123abc' % '3.4a' --- int(0) --- testing: ' 123abc' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '123 abc' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '123 abc' % '65' --- @@ -315,7 +315,7 @@ int(0) --- testing: '123 abc' % '-7.7' --- int(4) --- testing: '123 abc' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '123 abc' % '123abc' --- int(0) --- testing: '123 abc' % '123e5' --- @@ -331,7 +331,7 @@ int(0) --- testing: '123 abc' % '3.4a' --- int(0) --- testing: '123 abc' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '123abc ' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '123abc ' % '65' --- @@ -343,7 +343,7 @@ int(0) --- testing: '123abc ' % '-7.7' --- int(4) --- testing: '123abc ' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '123abc ' % '123abc' --- int(0) --- testing: '123abc ' % '123e5' --- @@ -359,7 +359,7 @@ int(0) --- testing: '123abc ' % '3.4a' --- int(0) --- testing: '123abc ' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '3.4a' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '3.4a' % '65' --- @@ -371,7 +371,7 @@ int(0) --- testing: '3.4a' % '-7.7' --- int(3) --- testing: '3.4a' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: '3.4a' % '123abc' --- int(3) --- testing: '3.4a' % '123e5' --- @@ -387,32 +387,32 @@ int(3) --- testing: '3.4a' % '3.4a' --- int(0) --- testing: '3.4a' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '0' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '65' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '-44' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '1.2' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '-7.7' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % 'abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '123abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '123e5' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '123e5xyz' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % ' 123abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '123 abc' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '123abc ' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '3.4a' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric string % non-numeric string +TypeError: Unsupported operand types: non-numeric-string % non-numeric-string diff --git a/tests/lang/operators/multiply_variationStr.phpt b/tests/lang/operators/multiply_variationStr.phpt index 18787efc6a865..46757d8f64f89 100644 --- a/tests/lang/operators/multiply_variationStr.phpt +++ b/tests/lang/operators/multiply_variationStr.phpt @@ -34,7 +34,7 @@ float(0) --- testing: '0' * '-7.7' --- float(-0) --- testing: '0' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '0' * '123abc' --- int(0) --- testing: '0' * '123e5' --- @@ -50,7 +50,7 @@ int(0) --- testing: '0' * '3.4a' --- float(0) --- testing: '0' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '65' * '0' --- int(0) --- testing: '65' * '65' --- @@ -62,7 +62,7 @@ float(78) --- testing: '65' * '-7.7' --- float(-500.5) --- testing: '65' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '65' * '123abc' --- int(7995) --- testing: '65' * '123e5' --- @@ -78,7 +78,7 @@ int(7995) --- testing: '65' * '3.4a' --- float(221) --- testing: '65' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '-44' * '0' --- int(0) --- testing: '-44' * '65' --- @@ -90,7 +90,7 @@ float(-52.8) --- testing: '-44' * '-7.7' --- float(338.8) --- testing: '-44' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '-44' * '123abc' --- int(-5412) --- testing: '-44' * '123e5' --- @@ -106,7 +106,7 @@ int(-5412) --- testing: '-44' * '3.4a' --- float(-149.6) --- testing: '-44' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '1.2' * '0' --- float(0) --- testing: '1.2' * '65' --- @@ -118,7 +118,7 @@ float(1.44) --- testing: '1.2' * '-7.7' --- float(-9.24) --- testing: '1.2' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '1.2' * '123abc' --- float(147.6) --- testing: '1.2' * '123e5' --- @@ -134,7 +134,7 @@ float(147.6) --- testing: '1.2' * '3.4a' --- float(4.08) --- testing: '1.2' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '-7.7' * '0' --- float(-0) --- testing: '-7.7' * '65' --- @@ -146,7 +146,7 @@ float(-9.24) --- testing: '-7.7' * '-7.7' --- float(59.290000000000006) --- testing: '-7.7' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '-7.7' * '123abc' --- float(-947.1) --- testing: '-7.7' * '123e5' --- @@ -162,35 +162,35 @@ float(-947.1) --- testing: '-7.7' * '3.4a' --- float(-26.18) --- testing: '-7.7' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '0' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '65' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '-44' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '1.2' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '-7.7' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '123abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '123e5' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '123e5xyz' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * ' 123abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '123 abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '123abc ' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '3.4a' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '123abc' * '0' --- int(0) --- testing: '123abc' * '65' --- @@ -202,7 +202,7 @@ float(147.6) --- testing: '123abc' * '-7.7' --- float(-947.1) --- testing: '123abc' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '123abc' * '123abc' --- int(15129) --- testing: '123abc' * '123e5' --- @@ -218,7 +218,7 @@ int(15129) --- testing: '123abc' * '3.4a' --- float(418.2) --- testing: '123abc' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '123e5' * '0' --- float(0) --- testing: '123e5' * '65' --- @@ -230,7 +230,7 @@ float(14760000) --- testing: '123e5' * '-7.7' --- float(-94710000) --- testing: '123e5' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '123e5' * '123abc' --- float(1512900000) --- testing: '123e5' * '123e5' --- @@ -246,7 +246,7 @@ float(1512900000) --- testing: '123e5' * '3.4a' --- float(41820000) --- testing: '123e5' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '123e5xyz' * '0' --- float(0) --- testing: '123e5xyz' * '65' --- @@ -258,7 +258,7 @@ float(14760000) --- testing: '123e5xyz' * '-7.7' --- float(-94710000) --- testing: '123e5xyz' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '123e5xyz' * '123abc' --- float(1512900000) --- testing: '123e5xyz' * '123e5' --- @@ -274,7 +274,7 @@ float(1512900000) --- testing: '123e5xyz' * '3.4a' --- float(41820000) --- testing: '123e5xyz' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: ' 123abc' * '0' --- int(0) --- testing: ' 123abc' * '65' --- @@ -286,7 +286,7 @@ float(147.6) --- testing: ' 123abc' * '-7.7' --- float(-947.1) --- testing: ' 123abc' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: ' 123abc' * '123abc' --- int(15129) --- testing: ' 123abc' * '123e5' --- @@ -302,7 +302,7 @@ int(15129) --- testing: ' 123abc' * '3.4a' --- float(418.2) --- testing: ' 123abc' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '123 abc' * '0' --- int(0) --- testing: '123 abc' * '65' --- @@ -314,7 +314,7 @@ float(147.6) --- testing: '123 abc' * '-7.7' --- float(-947.1) --- testing: '123 abc' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '123 abc' * '123abc' --- int(15129) --- testing: '123 abc' * '123e5' --- @@ -330,7 +330,7 @@ int(15129) --- testing: '123 abc' * '3.4a' --- float(418.2) --- testing: '123 abc' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '123abc ' * '0' --- int(0) --- testing: '123abc ' * '65' --- @@ -342,7 +342,7 @@ float(147.6) --- testing: '123abc ' * '-7.7' --- float(-947.1) --- testing: '123abc ' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '123abc ' * '123abc' --- int(15129) --- testing: '123abc ' * '123e5' --- @@ -358,7 +358,7 @@ int(15129) --- testing: '123abc ' * '3.4a' --- float(418.2) --- testing: '123abc ' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '3.4a' * '0' --- float(0) --- testing: '3.4a' * '65' --- @@ -370,7 +370,7 @@ float(4.08) --- testing: '3.4a' * '-7.7' --- float(-26.18) --- testing: '3.4a' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: '3.4a' * '123abc' --- float(418.2) --- testing: '3.4a' * '123e5' --- @@ -386,32 +386,32 @@ float(418.2) --- testing: '3.4a' * '3.4a' --- float(11.559999999999999) --- testing: '3.4a' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '0' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '65' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '-44' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '1.2' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '-7.7' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * 'abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '123abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '123e5' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '123e5xyz' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * ' 123abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '123 abc' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '123abc ' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '3.4a' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * 'a5.9' --- -Unsupported operand types: non-numeric string * non-numeric string +Unsupported operand types: non-numeric-string * non-numeric-string diff --git a/tests/lang/operators/negate_variationStr.phpt b/tests/lang/operators/negate_variationStr.phpt index d643f4e8ba423..53ed5cacc698e 100644 --- a/tests/lang/operators/negate_variationStr.phpt +++ b/tests/lang/operators/negate_variationStr.phpt @@ -30,7 +30,7 @@ float(-1.2) --- testing: '-7.7' --- float(7.7) --- testing: 'abc' --- -Unsupported operand types: non-numeric string * int +Unsupported operand types: non-numeric-string * int --- testing: '123abc' --- Warning: A non-numeric value encountered in %s on line %d @@ -58,4 +58,4 @@ int(-123) Warning: A non-numeric value encountered in %s on line %d float(-3.4) --- testing: 'a5.9' --- -Unsupported operand types: non-numeric string * int +Unsupported operand types: non-numeric-string * int diff --git a/tests/lang/operators/subtract_variationStr.phpt b/tests/lang/operators/subtract_variationStr.phpt index 7491f9631c86e..e1a6ddce4ef35 100644 --- a/tests/lang/operators/subtract_variationStr.phpt +++ b/tests/lang/operators/subtract_variationStr.phpt @@ -34,7 +34,7 @@ float(-1.2) --- testing: '0' - '-7.7' --- float(7.7) --- testing: '0' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '0' - '123abc' --- int(-123) --- testing: '0' - '123e5' --- @@ -50,7 +50,7 @@ int(-123) --- testing: '0' - '3.4a' --- float(-3.4) --- testing: '0' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '65' - '0' --- int(65) --- testing: '65' - '65' --- @@ -62,7 +62,7 @@ float(63.8) --- testing: '65' - '-7.7' --- float(72.7) --- testing: '65' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '65' - '123abc' --- int(-58) --- testing: '65' - '123e5' --- @@ -78,7 +78,7 @@ int(-58) --- testing: '65' - '3.4a' --- float(61.6) --- testing: '65' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '-44' - '0' --- int(-44) --- testing: '-44' - '65' --- @@ -90,7 +90,7 @@ float(-45.2) --- testing: '-44' - '-7.7' --- float(-36.3) --- testing: '-44' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '-44' - '123abc' --- int(-167) --- testing: '-44' - '123e5' --- @@ -106,7 +106,7 @@ int(-167) --- testing: '-44' - '3.4a' --- float(-47.4) --- testing: '-44' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '1.2' - '0' --- float(1.2) --- testing: '1.2' - '65' --- @@ -118,7 +118,7 @@ float(0) --- testing: '1.2' - '-7.7' --- float(8.9) --- testing: '1.2' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '1.2' - '123abc' --- float(-121.8) --- testing: '1.2' - '123e5' --- @@ -134,7 +134,7 @@ float(-121.8) --- testing: '1.2' - '3.4a' --- float(-2.2) --- testing: '1.2' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '-7.7' - '0' --- float(-7.7) --- testing: '-7.7' - '65' --- @@ -146,7 +146,7 @@ float(-8.9) --- testing: '-7.7' - '-7.7' --- float(0) --- testing: '-7.7' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '-7.7' - '123abc' --- float(-130.7) --- testing: '-7.7' - '123e5' --- @@ -162,35 +162,35 @@ float(-130.7) --- testing: '-7.7' - '3.4a' --- float(-11.1) --- testing: '-7.7' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '0' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '65' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '-44' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '1.2' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '-7.7' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '123abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '123e5' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '123e5xyz' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - ' 123abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '123 abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '123abc ' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '3.4a' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '123abc' - '0' --- int(123) --- testing: '123abc' - '65' --- @@ -202,7 +202,7 @@ float(121.8) --- testing: '123abc' - '-7.7' --- float(130.7) --- testing: '123abc' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '123abc' - '123abc' --- int(0) --- testing: '123abc' - '123e5' --- @@ -218,7 +218,7 @@ int(0) --- testing: '123abc' - '3.4a' --- float(119.6) --- testing: '123abc' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '123e5' - '0' --- float(12300000) --- testing: '123e5' - '65' --- @@ -230,7 +230,7 @@ float(12299998.8) --- testing: '123e5' - '-7.7' --- float(12300007.7) --- testing: '123e5' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '123e5' - '123abc' --- float(12299877) --- testing: '123e5' - '123e5' --- @@ -246,7 +246,7 @@ float(12299877) --- testing: '123e5' - '3.4a' --- float(12299996.6) --- testing: '123e5' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '123e5xyz' - '0' --- float(12300000) --- testing: '123e5xyz' - '65' --- @@ -258,7 +258,7 @@ float(12299998.8) --- testing: '123e5xyz' - '-7.7' --- float(12300007.7) --- testing: '123e5xyz' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '123e5xyz' - '123abc' --- float(12299877) --- testing: '123e5xyz' - '123e5' --- @@ -274,7 +274,7 @@ float(12299877) --- testing: '123e5xyz' - '3.4a' --- float(12299996.6) --- testing: '123e5xyz' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: ' 123abc' - '0' --- int(123) --- testing: ' 123abc' - '65' --- @@ -286,7 +286,7 @@ float(121.8) --- testing: ' 123abc' - '-7.7' --- float(130.7) --- testing: ' 123abc' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: ' 123abc' - '123abc' --- int(0) --- testing: ' 123abc' - '123e5' --- @@ -302,7 +302,7 @@ int(0) --- testing: ' 123abc' - '3.4a' --- float(119.6) --- testing: ' 123abc' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '123 abc' - '0' --- int(123) --- testing: '123 abc' - '65' --- @@ -314,7 +314,7 @@ float(121.8) --- testing: '123 abc' - '-7.7' --- float(130.7) --- testing: '123 abc' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '123 abc' - '123abc' --- int(0) --- testing: '123 abc' - '123e5' --- @@ -330,7 +330,7 @@ int(0) --- testing: '123 abc' - '3.4a' --- float(119.6) --- testing: '123 abc' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '123abc ' - '0' --- int(123) --- testing: '123abc ' - '65' --- @@ -342,7 +342,7 @@ float(121.8) --- testing: '123abc ' - '-7.7' --- float(130.7) --- testing: '123abc ' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '123abc ' - '123abc' --- int(0) --- testing: '123abc ' - '123e5' --- @@ -358,7 +358,7 @@ int(0) --- testing: '123abc ' - '3.4a' --- float(119.6) --- testing: '123abc ' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '3.4a' - '0' --- float(3.4) --- testing: '3.4a' - '65' --- @@ -370,7 +370,7 @@ float(2.2) --- testing: '3.4a' - '-7.7' --- float(11.1) --- testing: '3.4a' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: '3.4a' - '123abc' --- float(-119.6) --- testing: '3.4a' - '123e5' --- @@ -386,32 +386,32 @@ float(-119.6) --- testing: '3.4a' - '3.4a' --- float(0) --- testing: '3.4a' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '0' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '65' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '-44' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '1.2' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '-7.7' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - 'abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '123abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '123e5' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '123e5xyz' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - ' 123abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '123 abc' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '123abc ' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '3.4a' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - 'a5.9' --- -Unsupported operand types: non-numeric string - non-numeric string +Unsupported operand types: non-numeric-string - non-numeric-string From f586c76b37f1ace83787bcc302f2411655a6c9b6 Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Thu, 4 Dec 2025 10:51:36 -0500 Subject: [PATCH 09/15] Update: Unit Test to php#20632 --- .../type_declarations/scalar_strict.phpt | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Zend/tests/type_declarations/scalar_strict.phpt b/Zend/tests/type_declarations/scalar_strict.phpt index bc43e73ceb834..dc381dead33b0 100644 --- a/Zend/tests/type_declarations/scalar_strict.phpt +++ b/Zend/tests/type_declarations/scalar_strict.phpt @@ -60,7 +60,7 @@ Testing 'int' type: int(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d @@ -69,13 +69,13 @@ int(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, empty string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, empty-string given, called in %s on line %d *** Trying int(2147483647) int(2147483647) @@ -113,7 +113,7 @@ Testing 'float' type: float(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d *** Trying float(1) float(1) @@ -122,13 +122,13 @@ float(1) float(1.5) *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, empty string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, empty-string given, called in %s on line %d *** Trying int(2147483647) float(2147483647) @@ -219,7 +219,7 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric-string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d @@ -228,13 +228,13 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d *** Trying string(2) "1a" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric-string given, called in %s on line %d *** Trying string(1) "a" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric-string given, called in %s on line %d *** Trying string(0) "" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, empty string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, empty-string given, called in %s on line %d *** Trying int(2147483647) *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d From e8dadd53713e3817ed8863280380cd73d08ee959 Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Thu, 4 Dec 2025 11:04:49 -0500 Subject: [PATCH 10/15] Update: Unit Test to php#20632 --- ext/standard/tests/math/pow_variation1.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/tests/math/pow_variation1.phpt b/ext/standard/tests/math/pow_variation1.phpt index 2cf4d0aa7fd42..311892b9e815f 100644 --- a/ext/standard/tests/math/pow_variation1.phpt +++ b/ext/standard/tests/math/pow_variation1.phpt @@ -80,9 +80,9 @@ float(0.125) int(0) int(1) int(0) -Unsupported operand types: empty string ** int +Unsupported operand types: empty-string ** int Unsupported operand types: array ** int -Unsupported operand types: non-numeric string ** int +Unsupported operand types: non-numeric-string ** int float(166.375) int(8) float(0.000250047) From 7ec7d035cd1a916d7785283fa4f17d29c61a27a4 Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Thu, 4 Dec 2025 11:10:52 -0500 Subject: [PATCH 11/15] Fix 'namaric' typo in zend_zval_numeric_string_value_name() and update callers Removed unnecessary changes. --- Zend/zend_API.c | 4 +--- Zend/zend_API.h | 2 +- Zend/zend_execute.c | 2 +- Zend/zend_operators.c | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 09041344942e6..722c948366ae8 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -149,7 +149,7 @@ ZEND_API const char *zend_zval_value_name(const zval *arg) return zend_get_type_by_const(Z_TYPE_P(arg)); } -ZEND_API const char *zend_zval_namaric_string_value_name(const zval *arg) +ZEND_API const char *zend_zval_numeric_string_value_name(const zval *arg) { const zval *val = arg; @@ -184,8 +184,6 @@ ZEND_API const char *zend_zval_type_name(const zval *arg) return zend_get_type_by_const(Z_TYPE_P(arg)); } - - /* This API exists *only* for use in gettype(). * For anything else, you likely want zend_zval_type_name(). */ ZEND_API zend_string *zend_zval_get_legacy_type(const zval *arg) /* {{{ */ diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 0442f910783c8..2906f88a1b041 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -365,7 +365,7 @@ ZEND_API zend_result zend_parse_parameters_ex(int flags, uint32_t num_args, cons zend_parse_parameters(num_args, __VA_ARGS__) ZEND_API const char *zend_zval_type_name(const zval *arg); ZEND_API const char *zend_zval_value_name(const zval *arg); -ZEND_API const char *zend_zval_namaric_string_value_name(const zval *arg); +ZEND_API const char *zend_zval_numeric_string_value_name(const zval *arg); ZEND_API zend_string *zend_zval_get_legacy_type(const zval *arg); ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...); diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 1eb41c20d0d3b..f290323e4b359 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -719,7 +719,7 @@ ZEND_API ZEND_COLD void zend_verify_arg_error( ZEND_ASSERT(zf->common.type == ZEND_USER_FUNCTION && "Arginfo verification is not performed for internal functions"); - given_msg = zend_zval_namaric_string_value_name(value); + given_msg = zend_zval_numeric_string_value_name(value); if (ptr && ptr->func && ZEND_USER_CODE(ptr->func->common.type)) { zend_argument_type_error(arg_num, "must be of type %s, %s given, called in %s on line %d", diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 6949a8df1e063..bd337c0c7eb57 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -1122,7 +1122,7 @@ static ZEND_COLD zend_never_inline void ZEND_FASTCALL zend_binop_error(const cha } zend_type_error("Unsupported operand types: %s %s %s", - zend_zval_namaric_string_value_name(op1), operator, zend_zval_namaric_string_value_name(op2)); + zend_zval_numeric_string_value_name(op1), operator, zend_zval_numeric_string_value_name(op2)); } /* }}} */ From 1b9aaacc547b8fd0b04e8808e70b8706e7a7cea0 Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Thu, 4 Dec 2025 11:13:22 -0500 Subject: [PATCH 12/15] Use ZVAL_DEREF() in zend_zval_numeric_string_value_name() --- Zend/zend_API.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 722c948366ae8..927941fee566b 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -153,9 +153,7 @@ ZEND_API const char *zend_zval_numeric_string_value_name(const zval *arg) { const zval *val = arg; - if (Z_TYPE_P(val) == IS_REFERENCE) { - val = Z_REFVAL_P(val); - } + ZVAL_DEREF(val); if (Z_TYPE_P(val) == IS_STRING) { if (Z_STRLEN_P(val) == 0) { From 9152f3bad902dfa47bb62c7a2c35d777034fccd5 Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Thu, 4 Dec 2025 11:33:01 -0500 Subject: [PATCH 13/15] Use is_numeric_string_ex() to avoid mislabelling numeric strings as non-numeric --- Zend/zend_API.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 927941fee566b..9634fd34c7a57 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -160,6 +160,14 @@ ZEND_API const char *zend_zval_numeric_string_value_name(const zval *arg) return "empty-string"; } + zend_long lval; + double dval; + + if (is_numeric_string_ex(Z_STRVAL_P(val), Z_STRLEN_P(val),&lval, &dval, 0, NULL)) + { + return "string"; + } + return "non-numeric-string"; } From 9f8a5ca7d85f5c09907a5259ac56b4a39ae8d686 Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Thu, 4 Dec 2025 14:21:44 -0500 Subject: [PATCH 14/15] Use is_numeric_string_ex() to avoid mislabelling numeric strings as non-numeric --- Zend/tests/assign_op_type_error.phpt | 16 +- Zend/tests/attributes/030_strict_types.phpt | 2 +- .../first_class_callable_015.phpt | 2 +- ...ument_count_incorrect_userland_strict.phpt | 2 +- Zend/tests/gh19719.phpt | 2 +- Zend/tests/operator_unsupported_types.phpt | 328 +++++++++--------- .../literal_types/true_no_coercion.phpt | 2 +- .../scalar_strict_64bit.phpt | 6 +- .../scalar_strict_basic.phpt | 6 +- .../union_types/type_checking_strict.phpt | 24 +- Zend/zend_API.c | 3 +- tests/lang/operators/add_variationStr.phpt | 48 +-- .../bitwiseShiftLeft_variationStr.phpt | 48 +-- .../bitwiseShiftLeft_variationStr_64bit.phpt | 48 +-- .../bitwiseShiftRight_variationStr.phpt | 48 +-- tests/lang/operators/divide_variationStr.phpt | 48 +-- .../lang/operators/modulus_variationStr.phpt | 48 +-- .../lang/operators/multiply_variationStr.phpt | 48 +-- .../lang/operators/subtract_variationStr.phpt | 48 +-- 19 files changed, 389 insertions(+), 388 deletions(-) diff --git a/Zend/tests/assign_op_type_error.phpt b/Zend/tests/assign_op_type_error.phpt index 9702d2aa1c08a..5f175613e20b8 100644 --- a/Zend/tests/assign_op_type_error.phpt +++ b/Zend/tests/assign_op_type_error.phpt @@ -47,11 +47,11 @@ try { ?> --EXPECT-- -Unsupported operand types: array + non-numeric-string -Unsupported operand types: array - non-numeric-string -Unsupported operand types: array * non-numeric-string -Unsupported operand types: array / non-numeric-string -Unsupported operand types: array ** non-numeric-string -Unsupported operand types: array % non-numeric-string -Unsupported operand types: array << non-numeric-string -Unsupported operand types: array >> non-numeric-string +Unsupported operand types: array + string +Unsupported operand types: array - string +Unsupported operand types: array * string +Unsupported operand types: array / string +Unsupported operand types: array ** string +Unsupported operand types: array % string +Unsupported operand types: array << string +Unsupported operand types: array >> string diff --git a/Zend/tests/attributes/030_strict_types.phpt b/Zend/tests/attributes/030_strict_types.phpt index 2643e36c2c9d0..d46b4d4a329a9 100644 --- a/Zend/tests/attributes/030_strict_types.phpt +++ b/Zend/tests/attributes/030_strict_types.phpt @@ -23,7 +23,7 @@ object(MyAttribute)#1 (1) { int(42) } -Fatal error: Uncaught TypeError: MyAttribute::__construct(): Argument #1 ($value) must be of type int, non-numeric-string given, called in %s030_strict_types.inc on line 4 and defined in %s030_strict_types.php:5 +Fatal error: Uncaught TypeError: MyAttribute::__construct(): Argument #1 ($value) must be of type int, string given, called in %s030_strict_types.inc on line 4 and defined in %s030_strict_types.php:5 Stack trace: #0 %s030_strict_types.inc(4): MyAttribute->__construct('42') #1 %s(%d): ReflectionAttribute->newInstance() diff --git a/Zend/tests/first_class_callable/first_class_callable_015.phpt b/Zend/tests/first_class_callable/first_class_callable_015.phpt index 94836ded7c186..72e1d413dd708 100644 --- a/Zend/tests/first_class_callable/first_class_callable_015.phpt +++ b/Zend/tests/first_class_callable/first_class_callable_015.phpt @@ -21,4 +21,4 @@ try { ?> --EXPECTF-- int(42) -test(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d +test(): Argument #1 ($i) must be of type int, string given, called in %s on line %d diff --git a/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt b/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt index 39074d49d9a8e..2a67a9ce4c6ba 100644 --- a/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt +++ b/Zend/tests/function_arguments/argument_count_incorrect_userland_strict.phpt @@ -50,6 +50,6 @@ Too few arguments to function bar(), 1 passed in %s and exactly 2 expected ArgumentCountError Too few arguments to function bat(), 1 passed in %s and exactly 2 expected TypeError -bat(): Argument #1 ($foo) must be of type int, non-numeric-string given, called in %s on line %d +bat(): Argument #1 ($foo) must be of type int, string given, called in %s on line %d TypeError bat(): Argument #2 ($bar) must be of type string, int given, called in %s on line %d diff --git a/Zend/tests/gh19719.phpt b/Zend/tests/gh19719.phpt index e00e45b06914a..715e847846fe1 100644 --- a/Zend/tests/gh19719.phpt +++ b/Zend/tests/gh19719.phpt @@ -18,4 +18,4 @@ try { ?> --EXPECTF-- -takesInt(): Argument #1 ($x) must be of type int, non-numeric-string given, called in %s on line %d +takesInt(): Argument #1 ($x) must be of type int, string given, called in %s on line %d diff --git a/Zend/tests/operator_unsupported_types.phpt b/Zend/tests/operator_unsupported_types.phpt index 3269066911bb2..c0867dc62ddc6 100644 --- a/Zend/tests/operator_unsupported_types.phpt +++ b/Zend/tests/operator_unsupported_types.phpt @@ -152,8 +152,8 @@ Unsupported operand types: array + int Unsupported operand types: int + array Unsupported operand types: array + float Unsupported operand types: float + array -Unsupported operand types: array + non-numeric-string -Unsupported operand types: non-numeric-string + array +Unsupported operand types: array + string +Unsupported operand types: string + array Unsupported operand types: array + non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string + array @@ -167,8 +167,8 @@ Unsupported operand types: stdClass + int Unsupported operand types: int + stdClass Unsupported operand types: stdClass + float Unsupported operand types: float + stdClass -Unsupported operand types: stdClass + non-numeric-string -Unsupported operand types: non-numeric-string + stdClass +Unsupported operand types: stdClass + string +Unsupported operand types: string + stdClass Unsupported operand types: stdClass + non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string + stdClass @@ -182,8 +182,8 @@ Unsupported operand types: resource + int Unsupported operand types: int + resource Unsupported operand types: resource + float Unsupported operand types: float + resource -Unsupported operand types: resource + non-numeric-string -Unsupported operand types: non-numeric-string + resource +Unsupported operand types: resource + string +Unsupported operand types: string + resource Unsupported operand types: resource + non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string + resource @@ -197,8 +197,8 @@ Unsupported operand types: non-numeric-string + int Unsupported operand types: int + non-numeric-string Unsupported operand types: non-numeric-string + float Unsupported operand types: float + non-numeric-string -Unsupported operand types: non-numeric-string + non-numeric-string -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string +Unsupported operand types: string + non-numeric-string Unsupported operand types: non-numeric-string + non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string + non-numeric-string @@ -228,8 +228,8 @@ Unsupported operand types: array - int Unsupported operand types: int - array Unsupported operand types: array - float Unsupported operand types: float - array -Unsupported operand types: array - non-numeric-string -Unsupported operand types: non-numeric-string - array +Unsupported operand types: array - string +Unsupported operand types: string - array Unsupported operand types: array - non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string - array @@ -243,8 +243,8 @@ Unsupported operand types: stdClass - int Unsupported operand types: int - stdClass Unsupported operand types: stdClass - float Unsupported operand types: float - stdClass -Unsupported operand types: stdClass - non-numeric-string -Unsupported operand types: non-numeric-string - stdClass +Unsupported operand types: stdClass - string +Unsupported operand types: string - stdClass Unsupported operand types: stdClass - non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string - stdClass @@ -258,8 +258,8 @@ Unsupported operand types: resource - int Unsupported operand types: int - resource Unsupported operand types: resource - float Unsupported operand types: float - resource -Unsupported operand types: resource - non-numeric-string -Unsupported operand types: non-numeric-string - resource +Unsupported operand types: resource - string +Unsupported operand types: string - resource Unsupported operand types: resource - non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string - resource @@ -273,8 +273,8 @@ Unsupported operand types: non-numeric-string - int Unsupported operand types: int - non-numeric-string Unsupported operand types: non-numeric-string - float Unsupported operand types: float - non-numeric-string -Unsupported operand types: non-numeric-string - non-numeric-string -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string +Unsupported operand types: string - non-numeric-string Unsupported operand types: non-numeric-string - non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string - non-numeric-string @@ -304,8 +304,8 @@ Unsupported operand types: array * int Unsupported operand types: int * array Unsupported operand types: array * float Unsupported operand types: float * array -Unsupported operand types: array * non-numeric-string -Unsupported operand types: non-numeric-string * array +Unsupported operand types: array * string +Unsupported operand types: string * array Unsupported operand types: array * non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string * array @@ -319,8 +319,8 @@ Unsupported operand types: stdClass * int Unsupported operand types: stdClass * int Unsupported operand types: stdClass * float Unsupported operand types: stdClass * float -Unsupported operand types: stdClass * non-numeric-string -Unsupported operand types: stdClass * non-numeric-string +Unsupported operand types: stdClass * string +Unsupported operand types: stdClass * string Unsupported operand types: stdClass * non-numeric-string Unsupported operand types: stdClass * non-numeric-string Unsupported operand types: resource * null @@ -333,8 +333,8 @@ Unsupported operand types: resource * int Unsupported operand types: resource * int Unsupported operand types: resource * float Unsupported operand types: resource * float -Unsupported operand types: resource * non-numeric-string -Unsupported operand types: resource * non-numeric-string +Unsupported operand types: resource * string +Unsupported operand types: resource * string Unsupported operand types: resource * non-numeric-string Unsupported operand types: resource * non-numeric-string Unsupported operand types: non-numeric-string * null @@ -347,8 +347,8 @@ Unsupported operand types: non-numeric-string * int Unsupported operand types: int * non-numeric-string Unsupported operand types: non-numeric-string * float Unsupported operand types: float * non-numeric-string -Unsupported operand types: non-numeric-string * non-numeric-string -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string +Unsupported operand types: string * non-numeric-string Unsupported operand types: non-numeric-string * non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string * non-numeric-string @@ -378,8 +378,8 @@ Unsupported operand types: array / int Unsupported operand types: int / array Unsupported operand types: array / float Unsupported operand types: float / array -Unsupported operand types: array / non-numeric-string -Unsupported operand types: non-numeric-string / array +Unsupported operand types: array / string +Unsupported operand types: string / array Unsupported operand types: array / non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string / array @@ -393,8 +393,8 @@ Unsupported operand types: stdClass / int Unsupported operand types: int / stdClass Unsupported operand types: stdClass / float Unsupported operand types: float / stdClass -Unsupported operand types: stdClass / non-numeric-string -Unsupported operand types: non-numeric-string / stdClass +Unsupported operand types: stdClass / string +Unsupported operand types: string / stdClass Unsupported operand types: stdClass / non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string / stdClass @@ -408,8 +408,8 @@ Unsupported operand types: resource / int Unsupported operand types: int / resource Unsupported operand types: resource / float Unsupported operand types: float / resource -Unsupported operand types: resource / non-numeric-string -Unsupported operand types: non-numeric-string / resource +Unsupported operand types: resource / string +Unsupported operand types: string / resource Unsupported operand types: resource / non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string / resource @@ -423,8 +423,8 @@ Unsupported operand types: non-numeric-string / int Unsupported operand types: int / non-numeric-string Unsupported operand types: non-numeric-string / float Unsupported operand types: float / non-numeric-string -Unsupported operand types: non-numeric-string / non-numeric-string -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string +Unsupported operand types: string / non-numeric-string Unsupported operand types: non-numeric-string / non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string / non-numeric-string @@ -455,8 +455,8 @@ Unsupported operand types: int % array Unsupported operand types: array % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % array -Unsupported operand types: array % non-numeric-string -Unsupported operand types: non-numeric-string % array +Unsupported operand types: array % string +Unsupported operand types: string % array Unsupported operand types: array % non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string % array @@ -471,8 +471,8 @@ Unsupported operand types: int % stdClass Unsupported operand types: stdClass % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % stdClass -Unsupported operand types: stdClass % non-numeric-string -Unsupported operand types: non-numeric-string % stdClass +Unsupported operand types: stdClass % string +Unsupported operand types: string % stdClass Unsupported operand types: stdClass % non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string % stdClass @@ -487,8 +487,8 @@ Unsupported operand types: int % resource Unsupported operand types: resource % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % resource -Unsupported operand types: resource % non-numeric-string -Unsupported operand types: non-numeric-string % resource +Unsupported operand types: resource % string +Unsupported operand types: string % resource Unsupported operand types: resource % non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string % resource @@ -503,8 +503,8 @@ Unsupported operand types: int % non-numeric-string Unsupported operand types: non-numeric-string % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % non-numeric-string -Unsupported operand types: non-numeric-string % non-numeric-string -Unsupported operand types: non-numeric-string % non-numeric-string +Unsupported operand types: non-numeric-string % string +Unsupported operand types: string % non-numeric-string Unsupported operand types: non-numeric-string % non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string % non-numeric-string @@ -534,8 +534,8 @@ Unsupported operand types: array ** int Unsupported operand types: int ** array Unsupported operand types: array ** float Unsupported operand types: float ** array -Unsupported operand types: array ** non-numeric-string -Unsupported operand types: non-numeric-string ** array +Unsupported operand types: array ** string +Unsupported operand types: string ** array Unsupported operand types: array ** non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ** array @@ -549,8 +549,8 @@ Unsupported operand types: stdClass ** int Unsupported operand types: int ** stdClass Unsupported operand types: stdClass ** float Unsupported operand types: float ** stdClass -Unsupported operand types: stdClass ** non-numeric-string -Unsupported operand types: non-numeric-string ** stdClass +Unsupported operand types: stdClass ** string +Unsupported operand types: string ** stdClass Unsupported operand types: stdClass ** non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ** stdClass @@ -564,8 +564,8 @@ Unsupported operand types: resource ** int Unsupported operand types: int ** resource Unsupported operand types: resource ** float Unsupported operand types: float ** resource -Unsupported operand types: resource ** non-numeric-string -Unsupported operand types: non-numeric-string ** resource +Unsupported operand types: resource ** string +Unsupported operand types: string ** resource Unsupported operand types: resource ** non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ** resource @@ -579,8 +579,8 @@ Unsupported operand types: non-numeric-string ** int Unsupported operand types: int ** non-numeric-string Unsupported operand types: non-numeric-string ** float Unsupported operand types: float ** non-numeric-string -Unsupported operand types: non-numeric-string ** non-numeric-string -Unsupported operand types: non-numeric-string ** non-numeric-string +Unsupported operand types: non-numeric-string ** string +Unsupported operand types: string ** non-numeric-string Unsupported operand types: non-numeric-string ** non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ** non-numeric-string @@ -611,8 +611,8 @@ Unsupported operand types: int << array Unsupported operand types: array << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << array -Unsupported operand types: array << non-numeric-string -Unsupported operand types: non-numeric-string << array +Unsupported operand types: array << string +Unsupported operand types: string << array Unsupported operand types: array << non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string << array @@ -627,8 +627,8 @@ Unsupported operand types: int << stdClass Unsupported operand types: stdClass << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << stdClass -Unsupported operand types: stdClass << non-numeric-string -Unsupported operand types: non-numeric-string << stdClass +Unsupported operand types: stdClass << string +Unsupported operand types: string << stdClass Unsupported operand types: stdClass << non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string << stdClass @@ -643,8 +643,8 @@ Unsupported operand types: int << resource Unsupported operand types: resource << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << resource -Unsupported operand types: resource << non-numeric-string -Unsupported operand types: non-numeric-string << resource +Unsupported operand types: resource << string +Unsupported operand types: string << resource Unsupported operand types: resource << non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string << resource @@ -659,8 +659,8 @@ Unsupported operand types: int << non-numeric-string Unsupported operand types: non-numeric-string << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << non-numeric-string -Unsupported operand types: non-numeric-string << non-numeric-string -Unsupported operand types: non-numeric-string << non-numeric-string +Unsupported operand types: non-numeric-string << string +Unsupported operand types: string << non-numeric-string Unsupported operand types: non-numeric-string << non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string << non-numeric-string @@ -691,8 +691,8 @@ Unsupported operand types: int >> array Unsupported operand types: array >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> array -Unsupported operand types: array >> non-numeric-string -Unsupported operand types: non-numeric-string >> array +Unsupported operand types: array >> string +Unsupported operand types: string >> array Unsupported operand types: array >> non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string >> array @@ -707,8 +707,8 @@ Unsupported operand types: int >> stdClass Unsupported operand types: stdClass >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> stdClass -Unsupported operand types: stdClass >> non-numeric-string -Unsupported operand types: non-numeric-string >> stdClass +Unsupported operand types: stdClass >> string +Unsupported operand types: string >> stdClass Unsupported operand types: stdClass >> non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string >> stdClass @@ -723,8 +723,8 @@ Unsupported operand types: int >> resource Unsupported operand types: resource >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> resource -Unsupported operand types: resource >> non-numeric-string -Unsupported operand types: non-numeric-string >> resource +Unsupported operand types: resource >> string +Unsupported operand types: string >> resource Unsupported operand types: resource >> non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string >> resource @@ -739,8 +739,8 @@ Unsupported operand types: int >> non-numeric-string Unsupported operand types: non-numeric-string >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> non-numeric-string -Unsupported operand types: non-numeric-string >> non-numeric-string -Unsupported operand types: non-numeric-string >> non-numeric-string +Unsupported operand types: non-numeric-string >> string +Unsupported operand types: string >> non-numeric-string Unsupported operand types: non-numeric-string >> non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string >> non-numeric-string @@ -771,8 +771,8 @@ Unsupported operand types: int & array Unsupported operand types: array & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & array -Unsupported operand types: array & non-numeric-string -Unsupported operand types: non-numeric-string & array +Unsupported operand types: array & string +Unsupported operand types: string & array Unsupported operand types: array & non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string & array @@ -786,8 +786,8 @@ Unsupported operand types: stdClass & int Unsupported operand types: stdClass & int Unsupported operand types: stdClass & float Unsupported operand types: stdClass & float -Unsupported operand types: stdClass & non-numeric-string -Unsupported operand types: stdClass & non-numeric-string +Unsupported operand types: stdClass & string +Unsupported operand types: stdClass & string Unsupported operand types: stdClass & non-numeric-string Unsupported operand types: stdClass & non-numeric-string Unsupported operand types: resource & null @@ -800,8 +800,8 @@ Unsupported operand types: resource & int Unsupported operand types: resource & int Unsupported operand types: resource & float Unsupported operand types: resource & float -Unsupported operand types: resource & non-numeric-string -Unsupported operand types: resource & non-numeric-string +Unsupported operand types: resource & string +Unsupported operand types: resource & string Unsupported operand types: resource & non-numeric-string Unsupported operand types: resource & non-numeric-string Unsupported operand types: non-numeric-string & null @@ -846,8 +846,8 @@ Unsupported operand types: int | array Unsupported operand types: array | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | array -Unsupported operand types: array | non-numeric-string -Unsupported operand types: non-numeric-string | array +Unsupported operand types: array | string +Unsupported operand types: string | array Unsupported operand types: array | non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string | array @@ -861,8 +861,8 @@ Unsupported operand types: stdClass | int Unsupported operand types: stdClass | int Unsupported operand types: stdClass | float Unsupported operand types: stdClass | float -Unsupported operand types: stdClass | non-numeric-string -Unsupported operand types: stdClass | non-numeric-string +Unsupported operand types: stdClass | string +Unsupported operand types: stdClass | string Unsupported operand types: stdClass | non-numeric-string Unsupported operand types: stdClass | non-numeric-string Unsupported operand types: resource | null @@ -875,8 +875,8 @@ Unsupported operand types: resource | int Unsupported operand types: resource | int Unsupported operand types: resource | float Unsupported operand types: resource | float -Unsupported operand types: resource | non-numeric-string -Unsupported operand types: resource | non-numeric-string +Unsupported operand types: resource | string +Unsupported operand types: resource | string Unsupported operand types: resource | non-numeric-string Unsupported operand types: resource | non-numeric-string Unsupported operand types: non-numeric-string | null @@ -921,8 +921,8 @@ Unsupported operand types: int ^ array Unsupported operand types: array ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ array -Unsupported operand types: array ^ non-numeric-string -Unsupported operand types: non-numeric-string ^ array +Unsupported operand types: array ^ string +Unsupported operand types: string ^ array Unsupported operand types: array ^ non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ^ array @@ -936,8 +936,8 @@ Unsupported operand types: stdClass ^ int Unsupported operand types: stdClass ^ int Unsupported operand types: stdClass ^ float Unsupported operand types: stdClass ^ float -Unsupported operand types: stdClass ^ non-numeric-string -Unsupported operand types: stdClass ^ non-numeric-string +Unsupported operand types: stdClass ^ string +Unsupported operand types: stdClass ^ string Unsupported operand types: stdClass ^ non-numeric-string Unsupported operand types: stdClass ^ non-numeric-string Unsupported operand types: resource ^ null @@ -950,8 +950,8 @@ Unsupported operand types: resource ^ int Unsupported operand types: resource ^ int Unsupported operand types: resource ^ float Unsupported operand types: resource ^ float -Unsupported operand types: resource ^ non-numeric-string -Unsupported operand types: resource ^ non-numeric-string +Unsupported operand types: resource ^ string +Unsupported operand types: resource ^ string Unsupported operand types: resource ^ non-numeric-string Unsupported operand types: resource ^ non-numeric-string Unsupported operand types: non-numeric-string ^ null @@ -1164,8 +1164,8 @@ Unsupported operand types: array + int Unsupported operand types: int + array Unsupported operand types: array + float Unsupported operand types: float + array -Unsupported operand types: array + non-numeric-string -Unsupported operand types: non-numeric-string + array +Unsupported operand types: array + string +Unsupported operand types: string + array Unsupported operand types: array + non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string + array @@ -1179,8 +1179,8 @@ Unsupported operand types: stdClass + int Unsupported operand types: int + stdClass Unsupported operand types: stdClass + float Unsupported operand types: float + stdClass -Unsupported operand types: stdClass + non-numeric-string -Unsupported operand types: non-numeric-string + stdClass +Unsupported operand types: stdClass + string +Unsupported operand types: string + stdClass Unsupported operand types: stdClass + non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string + stdClass @@ -1194,8 +1194,8 @@ Unsupported operand types: resource + int Unsupported operand types: int + resource Unsupported operand types: resource + float Unsupported operand types: float + resource -Unsupported operand types: resource + non-numeric-string -Unsupported operand types: non-numeric-string + resource +Unsupported operand types: resource + string +Unsupported operand types: string + resource Unsupported operand types: resource + non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string + resource @@ -1209,8 +1209,8 @@ Unsupported operand types: non-numeric-string + int Unsupported operand types: int + non-numeric-string Unsupported operand types: non-numeric-string + float Unsupported operand types: float + non-numeric-string -Unsupported operand types: non-numeric-string + non-numeric-string -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string +Unsupported operand types: string + non-numeric-string Unsupported operand types: non-numeric-string + non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string + non-numeric-string @@ -1240,8 +1240,8 @@ Unsupported operand types: array - int Unsupported operand types: int - array Unsupported operand types: array - float Unsupported operand types: float - array -Unsupported operand types: array - non-numeric-string -Unsupported operand types: non-numeric-string - array +Unsupported operand types: array - string +Unsupported operand types: string - array Unsupported operand types: array - non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string - array @@ -1255,8 +1255,8 @@ Unsupported operand types: stdClass - int Unsupported operand types: int - stdClass Unsupported operand types: stdClass - float Unsupported operand types: float - stdClass -Unsupported operand types: stdClass - non-numeric-string -Unsupported operand types: non-numeric-string - stdClass +Unsupported operand types: stdClass - string +Unsupported operand types: string - stdClass Unsupported operand types: stdClass - non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string - stdClass @@ -1270,8 +1270,8 @@ Unsupported operand types: resource - int Unsupported operand types: int - resource Unsupported operand types: resource - float Unsupported operand types: float - resource -Unsupported operand types: resource - non-numeric-string -Unsupported operand types: non-numeric-string - resource +Unsupported operand types: resource - string +Unsupported operand types: string - resource Unsupported operand types: resource - non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string - resource @@ -1285,8 +1285,8 @@ Unsupported operand types: non-numeric-string - int Unsupported operand types: int - non-numeric-string Unsupported operand types: non-numeric-string - float Unsupported operand types: float - non-numeric-string -Unsupported operand types: non-numeric-string - non-numeric-string -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string +Unsupported operand types: string - non-numeric-string Unsupported operand types: non-numeric-string - non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string - non-numeric-string @@ -1316,8 +1316,8 @@ Unsupported operand types: array * int Unsupported operand types: int * array Unsupported operand types: array * float Unsupported operand types: float * array -Unsupported operand types: array * non-numeric-string -Unsupported operand types: non-numeric-string * array +Unsupported operand types: array * string +Unsupported operand types: string * array Unsupported operand types: array * non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string * array @@ -1331,8 +1331,8 @@ Unsupported operand types: stdClass * int Unsupported operand types: int * stdClass Unsupported operand types: stdClass * float Unsupported operand types: float * stdClass -Unsupported operand types: stdClass * non-numeric-string -Unsupported operand types: non-numeric-string * stdClass +Unsupported operand types: stdClass * string +Unsupported operand types: string * stdClass Unsupported operand types: stdClass * non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string * stdClass @@ -1346,8 +1346,8 @@ Unsupported operand types: resource * int Unsupported operand types: int * resource Unsupported operand types: resource * float Unsupported operand types: float * resource -Unsupported operand types: resource * non-numeric-string -Unsupported operand types: non-numeric-string * resource +Unsupported operand types: resource * string +Unsupported operand types: string * resource Unsupported operand types: resource * non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string * resource @@ -1361,8 +1361,8 @@ Unsupported operand types: non-numeric-string * int Unsupported operand types: int * non-numeric-string Unsupported operand types: non-numeric-string * float Unsupported operand types: float * non-numeric-string -Unsupported operand types: non-numeric-string * non-numeric-string -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string +Unsupported operand types: string * non-numeric-string Unsupported operand types: non-numeric-string * non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string * non-numeric-string @@ -1392,8 +1392,8 @@ Unsupported operand types: array / int Unsupported operand types: int / array Unsupported operand types: array / float Unsupported operand types: float / array -Unsupported operand types: array / non-numeric-string -Unsupported operand types: non-numeric-string / array +Unsupported operand types: array / string +Unsupported operand types: string / array Unsupported operand types: array / non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string / array @@ -1407,8 +1407,8 @@ Unsupported operand types: stdClass / int Unsupported operand types: int / stdClass Unsupported operand types: stdClass / float Unsupported operand types: float / stdClass -Unsupported operand types: stdClass / non-numeric-string -Unsupported operand types: non-numeric-string / stdClass +Unsupported operand types: stdClass / string +Unsupported operand types: string / stdClass Unsupported operand types: stdClass / non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string / stdClass @@ -1422,8 +1422,8 @@ Unsupported operand types: resource / int Unsupported operand types: int / resource Unsupported operand types: resource / float Unsupported operand types: float / resource -Unsupported operand types: resource / non-numeric-string -Unsupported operand types: non-numeric-string / resource +Unsupported operand types: resource / string +Unsupported operand types: string / resource Unsupported operand types: resource / non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string / resource @@ -1437,8 +1437,8 @@ Unsupported operand types: non-numeric-string / int Unsupported operand types: int / non-numeric-string Unsupported operand types: non-numeric-string / float Unsupported operand types: float / non-numeric-string -Unsupported operand types: non-numeric-string / non-numeric-string -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string +Unsupported operand types: string / non-numeric-string Unsupported operand types: non-numeric-string / non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string / non-numeric-string @@ -1469,8 +1469,8 @@ Unsupported operand types: int % array Unsupported operand types: array % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % array -Unsupported operand types: array % non-numeric-string -Unsupported operand types: non-numeric-string % array +Unsupported operand types: array % string +Unsupported operand types: string % array Unsupported operand types: array % non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string % array @@ -1485,8 +1485,8 @@ Unsupported operand types: int % stdClass Unsupported operand types: stdClass % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % stdClass -Unsupported operand types: stdClass % non-numeric-string -Unsupported operand types: non-numeric-string % stdClass +Unsupported operand types: stdClass % string +Unsupported operand types: string % stdClass Unsupported operand types: stdClass % non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string % stdClass @@ -1501,8 +1501,8 @@ Unsupported operand types: int % resource Unsupported operand types: resource % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % resource -Unsupported operand types: resource % non-numeric-string -Unsupported operand types: non-numeric-string % resource +Unsupported operand types: resource % string +Unsupported operand types: string % resource Unsupported operand types: resource % non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string % resource @@ -1517,8 +1517,8 @@ Unsupported operand types: int % non-numeric-string Unsupported operand types: non-numeric-string % float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float % non-numeric-string -Unsupported operand types: non-numeric-string % non-numeric-string -Unsupported operand types: non-numeric-string % non-numeric-string +Unsupported operand types: non-numeric-string % string +Unsupported operand types: string % non-numeric-string Unsupported operand types: non-numeric-string % non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string % non-numeric-string @@ -1548,8 +1548,8 @@ Unsupported operand types: array ** int Unsupported operand types: int ** array Unsupported operand types: array ** float Unsupported operand types: float ** array -Unsupported operand types: array ** non-numeric-string -Unsupported operand types: non-numeric-string ** array +Unsupported operand types: array ** string +Unsupported operand types: string ** array Unsupported operand types: array ** non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ** array @@ -1563,8 +1563,8 @@ Unsupported operand types: stdClass ** int Unsupported operand types: int ** stdClass Unsupported operand types: stdClass ** float Unsupported operand types: float ** stdClass -Unsupported operand types: stdClass ** non-numeric-string -Unsupported operand types: non-numeric-string ** stdClass +Unsupported operand types: stdClass ** string +Unsupported operand types: string ** stdClass Unsupported operand types: stdClass ** non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ** stdClass @@ -1578,8 +1578,8 @@ Unsupported operand types: resource ** int Unsupported operand types: int ** resource Unsupported operand types: resource ** float Unsupported operand types: float ** resource -Unsupported operand types: resource ** non-numeric-string -Unsupported operand types: non-numeric-string ** resource +Unsupported operand types: resource ** string +Unsupported operand types: string ** resource Unsupported operand types: resource ** non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ** resource @@ -1593,8 +1593,8 @@ Unsupported operand types: non-numeric-string ** int Unsupported operand types: int ** non-numeric-string Unsupported operand types: non-numeric-string ** float Unsupported operand types: float ** non-numeric-string -Unsupported operand types: non-numeric-string ** non-numeric-string -Unsupported operand types: non-numeric-string ** non-numeric-string +Unsupported operand types: non-numeric-string ** string +Unsupported operand types: string ** non-numeric-string Unsupported operand types: non-numeric-string ** non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ** non-numeric-string @@ -1625,8 +1625,8 @@ Unsupported operand types: int << array Unsupported operand types: array << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << array -Unsupported operand types: array << non-numeric-string -Unsupported operand types: non-numeric-string << array +Unsupported operand types: array << string +Unsupported operand types: string << array Unsupported operand types: array << non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string << array @@ -1641,8 +1641,8 @@ Unsupported operand types: int << stdClass Unsupported operand types: stdClass << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << stdClass -Unsupported operand types: stdClass << non-numeric-string -Unsupported operand types: non-numeric-string << stdClass +Unsupported operand types: stdClass << string +Unsupported operand types: string << stdClass Unsupported operand types: stdClass << non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string << stdClass @@ -1657,8 +1657,8 @@ Unsupported operand types: int << resource Unsupported operand types: resource << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << resource -Unsupported operand types: resource << non-numeric-string -Unsupported operand types: non-numeric-string << resource +Unsupported operand types: resource << string +Unsupported operand types: string << resource Unsupported operand types: resource << non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string << resource @@ -1673,8 +1673,8 @@ Unsupported operand types: int << non-numeric-string Unsupported operand types: non-numeric-string << float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float << non-numeric-string -Unsupported operand types: non-numeric-string << non-numeric-string -Unsupported operand types: non-numeric-string << non-numeric-string +Unsupported operand types: non-numeric-string << string +Unsupported operand types: string << non-numeric-string Unsupported operand types: non-numeric-string << non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string << non-numeric-string @@ -1705,8 +1705,8 @@ Unsupported operand types: int >> array Unsupported operand types: array >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> array -Unsupported operand types: array >> non-numeric-string -Unsupported operand types: non-numeric-string >> array +Unsupported operand types: array >> string +Unsupported operand types: string >> array Unsupported operand types: array >> non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string >> array @@ -1721,8 +1721,8 @@ Unsupported operand types: int >> stdClass Unsupported operand types: stdClass >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> stdClass -Unsupported operand types: stdClass >> non-numeric-string -Unsupported operand types: non-numeric-string >> stdClass +Unsupported operand types: stdClass >> string +Unsupported operand types: string >> stdClass Unsupported operand types: stdClass >> non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string >> stdClass @@ -1737,8 +1737,8 @@ Unsupported operand types: int >> resource Unsupported operand types: resource >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> resource -Unsupported operand types: resource >> non-numeric-string -Unsupported operand types: non-numeric-string >> resource +Unsupported operand types: resource >> string +Unsupported operand types: string >> resource Unsupported operand types: resource >> non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string >> resource @@ -1753,8 +1753,8 @@ Unsupported operand types: int >> non-numeric-string Unsupported operand types: non-numeric-string >> float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float >> non-numeric-string -Unsupported operand types: non-numeric-string >> non-numeric-string -Unsupported operand types: non-numeric-string >> non-numeric-string +Unsupported operand types: non-numeric-string >> string +Unsupported operand types: string >> non-numeric-string Unsupported operand types: non-numeric-string >> non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string >> non-numeric-string @@ -1785,8 +1785,8 @@ Unsupported operand types: int & array Unsupported operand types: array & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & array -Unsupported operand types: array & non-numeric-string -Unsupported operand types: non-numeric-string & array +Unsupported operand types: array & string +Unsupported operand types: string & array Unsupported operand types: array & non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string & array @@ -1801,8 +1801,8 @@ Unsupported operand types: int & stdClass Unsupported operand types: stdClass & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & stdClass -Unsupported operand types: stdClass & non-numeric-string -Unsupported operand types: non-numeric-string & stdClass +Unsupported operand types: stdClass & string +Unsupported operand types: string & stdClass Unsupported operand types: stdClass & non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string & stdClass @@ -1817,8 +1817,8 @@ Unsupported operand types: int & resource Unsupported operand types: resource & float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float & resource -Unsupported operand types: resource & non-numeric-string -Unsupported operand types: non-numeric-string & resource +Unsupported operand types: resource & string +Unsupported operand types: string & resource Unsupported operand types: resource & non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string & resource @@ -1864,8 +1864,8 @@ Unsupported operand types: int | array Unsupported operand types: array | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | array -Unsupported operand types: array | non-numeric-string -Unsupported operand types: non-numeric-string | array +Unsupported operand types: array | string +Unsupported operand types: string | array Unsupported operand types: array | non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string | array @@ -1880,8 +1880,8 @@ Unsupported operand types: int | stdClass Unsupported operand types: stdClass | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | stdClass -Unsupported operand types: stdClass | non-numeric-string -Unsupported operand types: non-numeric-string | stdClass +Unsupported operand types: stdClass | string +Unsupported operand types: string | stdClass Unsupported operand types: stdClass | non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string | stdClass @@ -1896,8 +1896,8 @@ Unsupported operand types: int | resource Unsupported operand types: resource | float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float | resource -Unsupported operand types: resource | non-numeric-string -Unsupported operand types: non-numeric-string | resource +Unsupported operand types: resource | string +Unsupported operand types: string | resource Unsupported operand types: resource | non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string | resource @@ -1943,8 +1943,8 @@ Unsupported operand types: int ^ array Unsupported operand types: array ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ array -Unsupported operand types: array ^ non-numeric-string -Unsupported operand types: non-numeric-string ^ array +Unsupported operand types: array ^ string +Unsupported operand types: string ^ array Unsupported operand types: array ^ non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ^ array @@ -1959,8 +1959,8 @@ Unsupported operand types: int ^ stdClass Unsupported operand types: stdClass ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ stdClass -Unsupported operand types: stdClass ^ non-numeric-string -Unsupported operand types: non-numeric-string ^ stdClass +Unsupported operand types: stdClass ^ string +Unsupported operand types: string ^ stdClass Unsupported operand types: stdClass ^ non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ^ stdClass @@ -1975,8 +1975,8 @@ Unsupported operand types: int ^ resource Unsupported operand types: resource ^ float Warning: Implicit conversion from float 3.5 to int loses precision Unsupported operand types: float ^ resource -Unsupported operand types: resource ^ non-numeric-string -Unsupported operand types: non-numeric-string ^ resource +Unsupported operand types: resource ^ string +Unsupported operand types: string ^ resource Unsupported operand types: resource ^ non-numeric-string Warning: A non-numeric value encountered Unsupported operand types: non-numeric-string ^ resource diff --git a/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt b/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt index 508a0085a5743..85d6c90cd057c 100644 --- a/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt +++ b/Zend/tests/type_declarations/literal_types/true_no_coercion.phpt @@ -29,6 +29,6 @@ try { ?> --EXPECTF-- test(): Argument #1 ($v) must be of type true, int given, called in %s on line %d -test(): Argument #1 ($v) must be of type true, non-numeric-string given, called in %s on line %d +test(): Argument #1 ($v) must be of type true, string given, called in %s on line %d test(): Argument #1 ($v) must be of type true, array given, called in %s on line %d test(): Argument #1 ($v) must be of type true, stdClass given, called in %s on line %d diff --git a/Zend/tests/type_declarations/scalar_strict_64bit.phpt b/Zend/tests/type_declarations/scalar_strict_64bit.phpt index af6471c558a68..12bfecdebfd7e 100644 --- a/Zend/tests/type_declarations/scalar_strict_64bit.phpt +++ b/Zend/tests/type_declarations/scalar_strict_64bit.phpt @@ -60,7 +60,7 @@ Testing 'int' type: int(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d @@ -113,7 +113,7 @@ Testing 'float' type: float(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d *** Trying float(1) float(1) @@ -219,7 +219,7 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric-string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d diff --git a/Zend/tests/type_declarations/scalar_strict_basic.phpt b/Zend/tests/type_declarations/scalar_strict_basic.phpt index deb344d9e8d5c..7ae479a37af6c 100644 --- a/Zend/tests/type_declarations/scalar_strict_basic.phpt +++ b/Zend/tests/type_declarations/scalar_strict_basic.phpt @@ -60,7 +60,7 @@ int(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d *** Trying string value -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d *** Trying true value *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d @@ -89,7 +89,7 @@ float(1) float(1) *** Trying string value -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d *** Trying true value *** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, bool given, called in %s on line %d @@ -147,7 +147,7 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d *** Trying string value -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric-string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d *** Trying true value bool(true) diff --git a/Zend/tests/type_declarations/union_types/type_checking_strict.phpt b/Zend/tests/type_declarations/union_types/type_checking_strict.phpt index 98390cd584285..3a827265fdf7d 100644 --- a/Zend/tests/type_declarations/union_types/type_checking_strict.phpt +++ b/Zend/tests/type_declarations/union_types/type_checking_strict.phpt @@ -66,8 +66,8 @@ Type int|float: 42 => 42 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric-string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric-string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given "42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric-string given "x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, non-numeric-string given "" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, empty-string given @@ -82,8 +82,8 @@ Type int|float|false: 42 => 42 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric-string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric-string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, string given "42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric-string given "x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, non-numeric-string given "" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, empty-string given @@ -98,8 +98,8 @@ Type int|float|bool: 42 => 42 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric-string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric-string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, string given "42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric-string given "x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, non-numeric-string given "" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, empty-string given @@ -114,8 +114,8 @@ Type int|bool: 42 => 42 42.0 => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, float given INF => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, float given -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric-string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric-string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, string given "42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric-string given "x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, non-numeric-string given "" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, empty-string given @@ -162,8 +162,8 @@ Type float|array: 42 => 42.0 42.0 => 42.0 INF => INF -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric-string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric-string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, string given "42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric-string given "x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, non-numeric-string given "" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, empty-string given @@ -194,8 +194,8 @@ Type bool|array: 42 => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, int given 42.0 => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, float given INF => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, float given -"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric-string given -"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric-string given +"42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, string given +"42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, string given "42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric-string given "x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, non-numeric-string given "" => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|bool, empty-string given diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 9634fd34c7a57..1da482abcf6b6 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -163,7 +163,8 @@ ZEND_API const char *zend_zval_numeric_string_value_name(const zval *arg) zend_long lval; double dval; - if (is_numeric_string_ex(Z_STRVAL_P(val), Z_STRLEN_P(val),&lval, &dval, 0, NULL)) + bool trailing_data = false; + if (is_numeric_string_ex(Z_STRVAL_P(val), Z_STRLEN_P(val),&lval, &dval, 0, NULL, &trailing_data)) { return "string"; } diff --git a/tests/lang/operators/add_variationStr.phpt b/tests/lang/operators/add_variationStr.phpt index 92ba6ad92ef28..1222ae23b3e17 100644 --- a/tests/lang/operators/add_variationStr.phpt +++ b/tests/lang/operators/add_variationStr.phpt @@ -34,7 +34,7 @@ float(1.2) --- testing: '0' + '-7.7' --- float(-7.7) --- testing: '0' + 'abc' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: '0' + '123abc' --- int(123) --- testing: '0' + '123e5' --- @@ -50,7 +50,7 @@ int(123) --- testing: '0' + '3.4a' --- float(3.4) --- testing: '0' + 'a5.9' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: '65' + '0' --- int(65) --- testing: '65' + '65' --- @@ -62,7 +62,7 @@ float(66.2) --- testing: '65' + '-7.7' --- float(57.3) --- testing: '65' + 'abc' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: '65' + '123abc' --- int(188) --- testing: '65' + '123e5' --- @@ -78,7 +78,7 @@ int(188) --- testing: '65' + '3.4a' --- float(68.4) --- testing: '65' + 'a5.9' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: '-44' + '0' --- int(-44) --- testing: '-44' + '65' --- @@ -90,7 +90,7 @@ float(-42.8) --- testing: '-44' + '-7.7' --- float(-51.7) --- testing: '-44' + 'abc' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: '-44' + '123abc' --- int(79) --- testing: '-44' + '123e5' --- @@ -106,7 +106,7 @@ int(79) --- testing: '-44' + '3.4a' --- float(-40.6) --- testing: '-44' + 'a5.9' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: '1.2' + '0' --- float(1.2) --- testing: '1.2' + '65' --- @@ -118,7 +118,7 @@ float(2.4) --- testing: '1.2' + '-7.7' --- float(-6.5) --- testing: '1.2' + 'abc' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: '1.2' + '123abc' --- float(124.2) --- testing: '1.2' + '123e5' --- @@ -134,7 +134,7 @@ float(124.2) --- testing: '1.2' + '3.4a' --- float(4.6) --- testing: '1.2' + 'a5.9' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: '-7.7' + '0' --- float(-7.7) --- testing: '-7.7' + '65' --- @@ -146,7 +146,7 @@ float(-6.5) --- testing: '-7.7' + '-7.7' --- float(-15.4) --- testing: '-7.7' + 'abc' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: '-7.7' + '123abc' --- float(115.3) --- testing: '-7.7' + '123e5' --- @@ -162,23 +162,23 @@ float(115.3) --- testing: '-7.7' + '3.4a' --- float(-4.300000000000001) --- testing: '-7.7' + 'a5.9' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: 'abc' + '0' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'abc' + '65' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'abc' + '-44' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'abc' + '1.2' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'abc' + '-7.7' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'abc' + 'abc' --- Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '123abc' --- Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + '123e5' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'abc' + '123e5xyz' --- Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'abc' + ' 123abc' --- @@ -230,7 +230,7 @@ float(12300001.2) --- testing: '123e5' + '-7.7' --- float(12299992.3) --- testing: '123e5' + 'abc' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: '123e5' + '123abc' --- float(12300123) --- testing: '123e5' + '123e5' --- @@ -246,7 +246,7 @@ float(12300123) --- testing: '123e5' + '3.4a' --- float(12300003.4) --- testing: '123e5' + 'a5.9' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: string + non-numeric-string --- testing: '123e5xyz' + '0' --- float(12300000) --- testing: '123e5xyz' + '65' --- @@ -388,21 +388,21 @@ float(6.8) --- testing: '3.4a' + 'a5.9' --- Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '0' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'a5.9' + '65' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'a5.9' + '-44' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'a5.9' + '1.2' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'a5.9' + '-7.7' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'a5.9' + 'abc' --- Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '123abc' --- Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + '123e5' --- -Unsupported operand types: non-numeric-string + non-numeric-string +Unsupported operand types: non-numeric-string + string --- testing: 'a5.9' + '123e5xyz' --- Unsupported operand types: non-numeric-string + non-numeric-string --- testing: 'a5.9' + ' 123abc' --- diff --git a/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt b/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt index 59e6201701538..0524238a53943 100644 --- a/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt +++ b/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt @@ -34,7 +34,7 @@ int(0) --- testing: '0' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '0' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '0' << '123abc' --- int(0) --- testing: '0' << '123e5' --- @@ -50,7 +50,7 @@ int(0) --- testing: '0' << '3.4a' --- int(0) --- testing: '0' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '65' << '0' --- int(65) --- testing: '65' << '65' --- @@ -62,7 +62,7 @@ int(130) --- testing: '65' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '65' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '65' << '123abc' --- int(0) --- testing: '65' << '123e5' --- @@ -78,7 +78,7 @@ int(0) --- testing: '65' << '3.4a' --- int(520) --- testing: '65' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '-44' << '0' --- int(-44) --- testing: '-44' << '65' --- @@ -90,7 +90,7 @@ int(-88) --- testing: '-44' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-44' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '-44' << '123abc' --- int(0) --- testing: '-44' << '123e5' --- @@ -106,7 +106,7 @@ int(0) --- testing: '-44' << '3.4a' --- int(-352) --- testing: '-44' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '1.2' << '0' --- int(1) --- testing: '1.2' << '65' --- @@ -118,7 +118,7 @@ int(2) --- testing: '1.2' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '1.2' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '1.2' << '123abc' --- int(0) --- testing: '1.2' << '123e5' --- @@ -134,7 +134,7 @@ int(0) --- testing: '1.2' << '3.4a' --- int(8) --- testing: '1.2' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '-7.7' << '0' --- int(-7) --- testing: '-7.7' << '65' --- @@ -146,7 +146,7 @@ int(-14) --- testing: '-7.7' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-7.7' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '-7.7' << '123abc' --- int(0) --- testing: '-7.7' << '123e5' --- @@ -162,23 +162,23 @@ int(0) --- testing: '-7.7' << '3.4a' --- int(-56) --- testing: '-7.7' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: 'abc' << '0' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << '65' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << '-44' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << '1.2' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << '-7.7' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << 'abc' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123abc' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123e5' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << '123e5xyz' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << ' 123abc' --- @@ -230,7 +230,7 @@ int(24600000) --- testing: '123e5' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '123e5' << '123abc' --- int(0) --- testing: '123e5' << '123e5' --- @@ -246,7 +246,7 @@ int(0) --- testing: '123e5' << '3.4a' --- int(98400000) --- testing: '123e5' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '123e5xyz' << '0' --- int(12300000) --- testing: '123e5xyz' << '65' --- @@ -388,21 +388,21 @@ int(24) --- testing: '3.4a' << 'a5.9' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '0' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << '65' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << '-44' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << '1.2' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << '-7.7' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << 'abc' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123abc' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123e5' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << '123e5xyz' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << ' 123abc' --- diff --git a/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt b/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt index 748f933159619..9391f4a0ac055 100644 --- a/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt +++ b/tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt @@ -39,7 +39,7 @@ int(0) --- testing: '0' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '0' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '0' << '123abc' --- int(0) --- testing: '0' << '123e5' --- @@ -55,7 +55,7 @@ int(0) --- testing: '0' << '3.4a' --- int(0) --- testing: '0' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '65' << '0' --- int(65) --- testing: '65' << '65' --- @@ -67,7 +67,7 @@ int(130) --- testing: '65' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '65' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '65' << '123abc' --- int(0) --- testing: '65' << '123e5' --- @@ -83,7 +83,7 @@ int(0) --- testing: '65' << '3.4a' --- int(520) --- testing: '65' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '-44' << '0' --- int(-44) --- testing: '-44' << '65' --- @@ -95,7 +95,7 @@ int(-88) --- testing: '-44' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-44' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '-44' << '123abc' --- int(0) --- testing: '-44' << '123e5' --- @@ -111,7 +111,7 @@ int(0) --- testing: '-44' << '3.4a' --- int(-352) --- testing: '-44' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '1.2' << '0' --- int(1) --- testing: '1.2' << '65' --- @@ -123,7 +123,7 @@ int(2) --- testing: '1.2' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '1.2' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '1.2' << '123abc' --- int(0) --- testing: '1.2' << '123e5' --- @@ -139,7 +139,7 @@ int(0) --- testing: '1.2' << '3.4a' --- int(8) --- testing: '1.2' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '-7.7' << '0' --- int(-7) --- testing: '-7.7' << '65' --- @@ -151,7 +151,7 @@ int(-14) --- testing: '-7.7' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-7.7' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '-7.7' << '123abc' --- int(0) --- testing: '-7.7' << '123e5' --- @@ -167,23 +167,23 @@ int(0) --- testing: '-7.7' << '3.4a' --- int(-56) --- testing: '-7.7' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: 'abc' << '0' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << '65' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << '-44' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << '1.2' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << '-7.7' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << 'abc' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123abc' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << '123e5' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'abc' << '123e5xyz' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'abc' << ' 123abc' --- @@ -235,7 +235,7 @@ int(24600000) --- testing: '123e5' << '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5' << 'abc' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '123e5' << '123abc' --- int(0) --- testing: '123e5' << '123e5' --- @@ -251,7 +251,7 @@ int(0) --- testing: '123e5' << '3.4a' --- int(98400000) --- testing: '123e5' << 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: string << non-numeric-string --- testing: '123e5xyz' << '0' --- int(12300000) --- testing: '123e5xyz' << '65' --- @@ -393,21 +393,21 @@ int(24) --- testing: '3.4a' << 'a5.9' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '0' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << '65' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << '-44' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << '1.2' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << '-7.7' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << 'abc' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123abc' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << '123e5' --- -TypeError: Unsupported operand types: non-numeric-string << non-numeric-string +TypeError: Unsupported operand types: non-numeric-string << string --- testing: 'a5.9' << '123e5xyz' --- TypeError: Unsupported operand types: non-numeric-string << non-numeric-string --- testing: 'a5.9' << ' 123abc' --- diff --git a/tests/lang/operators/bitwiseShiftRight_variationStr.phpt b/tests/lang/operators/bitwiseShiftRight_variationStr.phpt index ac49dbc208c5d..1999614e4b755 100644 --- a/tests/lang/operators/bitwiseShiftRight_variationStr.phpt +++ b/tests/lang/operators/bitwiseShiftRight_variationStr.phpt @@ -35,7 +35,7 @@ int(0) --- testing: '0' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '0' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: '0' >> '123abc' --- int(0) --- testing: '0' >> '123e5' --- @@ -51,7 +51,7 @@ int(0) --- testing: '0' >> '3.4a' --- int(0) --- testing: '0' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: '65' >> '0' --- int(65) --- testing: '65' >> '65' --- @@ -63,7 +63,7 @@ int(32) --- testing: '65' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '65' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: '65' >> '123abc' --- int(0) --- testing: '65' >> '123e5' --- @@ -79,7 +79,7 @@ int(0) --- testing: '65' >> '3.4a' --- int(8) --- testing: '65' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: '-44' >> '0' --- int(-44) --- testing: '-44' >> '65' --- @@ -91,7 +91,7 @@ int(-22) --- testing: '-44' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-44' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: '-44' >> '123abc' --- int(-1) --- testing: '-44' >> '123e5' --- @@ -107,7 +107,7 @@ int(-1) --- testing: '-44' >> '3.4a' --- int(-6) --- testing: '-44' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: '1.2' >> '0' --- int(1) --- testing: '1.2' >> '65' --- @@ -119,7 +119,7 @@ int(0) --- testing: '1.2' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '1.2' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: '1.2' >> '123abc' --- int(0) --- testing: '1.2' >> '123e5' --- @@ -135,7 +135,7 @@ int(0) --- testing: '1.2' >> '3.4a' --- int(0) --- testing: '1.2' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: '-7.7' >> '0' --- int(-7) --- testing: '-7.7' >> '65' --- @@ -147,7 +147,7 @@ int(-4) --- testing: '-7.7' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '-7.7' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: '-7.7' >> '123abc' --- int(-1) --- testing: '-7.7' >> '123e5' --- @@ -163,23 +163,23 @@ int(-1) --- testing: '-7.7' >> '3.4a' --- int(-1) --- testing: '-7.7' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: 'abc' >> '0' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'abc' >> '65' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'abc' >> '-44' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'abc' >> '1.2' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'abc' >> '-7.7' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'abc' >> 'abc' --- TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '123abc' --- TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> '123e5' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'abc' >> '123e5xyz' --- TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'abc' >> ' 123abc' --- @@ -231,7 +231,7 @@ int(6150000) --- testing: '123e5' >> '-7.7' --- ArithmeticError: Bit shift by negative number --- testing: '123e5' >> 'abc' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: '123e5' >> '123abc' --- int(0) --- testing: '123e5' >> '123e5' --- @@ -247,7 +247,7 @@ int(0) --- testing: '123e5' >> '3.4a' --- int(1537500) --- testing: '123e5' >> 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: string >> non-numeric-string --- testing: '123e5xyz' >> '0' --- int(12300000) --- testing: '123e5xyz' >> '65' --- @@ -389,21 +389,21 @@ int(0) --- testing: '3.4a' >> 'a5.9' --- TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '0' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'a5.9' >> '65' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'a5.9' >> '-44' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'a5.9' >> '1.2' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'a5.9' >> '-7.7' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'a5.9' >> 'abc' --- TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '123abc' --- TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> '123e5' --- -TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string +TypeError: Unsupported operand types: non-numeric-string >> string --- testing: 'a5.9' >> '123e5xyz' --- TypeError: Unsupported operand types: non-numeric-string >> non-numeric-string --- testing: 'a5.9' >> ' 123abc' --- diff --git a/tests/lang/operators/divide_variationStr.phpt b/tests/lang/operators/divide_variationStr.phpt index 59be9438dbf34..fe14c78422857 100644 --- a/tests/lang/operators/divide_variationStr.phpt +++ b/tests/lang/operators/divide_variationStr.phpt @@ -37,7 +37,7 @@ float(0) --- testing: '0'/'-7.7' --- float(-0) --- testing: '0'/'abc' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: '0'/'123abc' --- int(0) --- testing: '0'/'123e5' --- @@ -53,7 +53,7 @@ int(0) --- testing: '0'/'3.4a' --- float(0) --- testing: '0'/'a5.9' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: '65'/'0' --- Division by zero --- testing: '65'/'65' --- @@ -65,7 +65,7 @@ float(54.16666666666667) --- testing: '65'/'-7.7' --- float(-8.441558441558442) --- testing: '65'/'abc' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: '65'/'123abc' --- float(0.5284552845528455) --- testing: '65'/'123e5' --- @@ -81,7 +81,7 @@ float(0.5284552845528455) --- testing: '65'/'3.4a' --- float(19.11764705882353) --- testing: '65'/'a5.9' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: '-44'/'0' --- Division by zero --- testing: '-44'/'65' --- @@ -93,7 +93,7 @@ float(-36.66666666666667) --- testing: '-44'/'-7.7' --- float(5.714285714285714) --- testing: '-44'/'abc' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: '-44'/'123abc' --- float(-0.35772357723577236) --- testing: '-44'/'123e5' --- @@ -109,7 +109,7 @@ float(-0.35772357723577236) --- testing: '-44'/'3.4a' --- float(-12.941176470588236) --- testing: '-44'/'a5.9' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: '1.2'/'0' --- Division by zero --- testing: '1.2'/'65' --- @@ -121,7 +121,7 @@ float(1) --- testing: '1.2'/'-7.7' --- float(-0.15584415584415584) --- testing: '1.2'/'abc' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: '1.2'/'123abc' --- float(0.00975609756097561) --- testing: '1.2'/'123e5' --- @@ -137,7 +137,7 @@ float(0.00975609756097561) --- testing: '1.2'/'3.4a' --- float(0.35294117647058826) --- testing: '1.2'/'a5.9' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: '-7.7'/'0' --- Division by zero --- testing: '-7.7'/'65' --- @@ -149,7 +149,7 @@ float(-6.416666666666667) --- testing: '-7.7'/'-7.7' --- float(1) --- testing: '-7.7'/'abc' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: '-7.7'/'123abc' --- float(-0.06260162601626017) --- testing: '-7.7'/'123e5' --- @@ -165,23 +165,23 @@ float(-0.06260162601626017) --- testing: '-7.7'/'3.4a' --- float(-2.264705882352941) --- testing: '-7.7'/'a5.9' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: 'abc'/'0' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'abc'/'65' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'abc'/'-44' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'abc'/'1.2' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'abc'/'-7.7' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'abc'/'abc' --- Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'123abc' --- Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/'123e5' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'abc'/'123e5xyz' --- Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'abc'/' 123abc' --- @@ -233,7 +233,7 @@ float(10250000) --- testing: '123e5'/'-7.7' --- float(-1597402.5974025973) --- testing: '123e5'/'abc' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: '123e5'/'123abc' --- float(100000) --- testing: '123e5'/'123e5' --- @@ -249,7 +249,7 @@ float(100000) --- testing: '123e5'/'3.4a' --- float(3617647.0588235296) --- testing: '123e5'/'a5.9' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: string / non-numeric-string --- testing: '123e5xyz'/'0' --- Division by zero --- testing: '123e5xyz'/'65' --- @@ -391,21 +391,21 @@ float(1) --- testing: '3.4a'/'a5.9' --- Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'0' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'a5.9'/'65' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'a5.9'/'-44' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'a5.9'/'1.2' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'a5.9'/'-7.7' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'a5.9'/'abc' --- Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'123abc' --- Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/'123e5' --- -Unsupported operand types: non-numeric-string / non-numeric-string +Unsupported operand types: non-numeric-string / string --- testing: 'a5.9'/'123e5xyz' --- Unsupported operand types: non-numeric-string / non-numeric-string --- testing: 'a5.9'/' 123abc' --- diff --git a/tests/lang/operators/modulus_variationStr.phpt b/tests/lang/operators/modulus_variationStr.phpt index cd2259dff04d5..2ce499b3c12a4 100644 --- a/tests/lang/operators/modulus_variationStr.phpt +++ b/tests/lang/operators/modulus_variationStr.phpt @@ -35,7 +35,7 @@ int(0) --- testing: '0' % '-7.7' --- int(0) --- testing: '0' % 'abc' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: '0' % '123abc' --- int(0) --- testing: '0' % '123e5' --- @@ -51,7 +51,7 @@ int(0) --- testing: '0' % '3.4a' --- int(0) --- testing: '0' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: '65' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '65' % '65' --- @@ -63,7 +63,7 @@ int(0) --- testing: '65' % '-7.7' --- int(2) --- testing: '65' % 'abc' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: '65' % '123abc' --- int(65) --- testing: '65' % '123e5' --- @@ -79,7 +79,7 @@ int(65) --- testing: '65' % '3.4a' --- int(2) --- testing: '65' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: '-44' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '-44' % '65' --- @@ -91,7 +91,7 @@ int(0) --- testing: '-44' % '-7.7' --- int(-2) --- testing: '-44' % 'abc' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: '-44' % '123abc' --- int(-44) --- testing: '-44' % '123e5' --- @@ -107,7 +107,7 @@ int(-44) --- testing: '-44' % '3.4a' --- int(-2) --- testing: '-44' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: '1.2' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '1.2' % '65' --- @@ -119,7 +119,7 @@ int(0) --- testing: '1.2' % '-7.7' --- int(1) --- testing: '1.2' % 'abc' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: '1.2' % '123abc' --- int(1) --- testing: '1.2' % '123e5' --- @@ -135,7 +135,7 @@ int(1) --- testing: '1.2' % '3.4a' --- int(1) --- testing: '1.2' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: '-7.7' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '-7.7' % '65' --- @@ -147,7 +147,7 @@ int(0) --- testing: '-7.7' % '-7.7' --- int(0) --- testing: '-7.7' % 'abc' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: '-7.7' % '123abc' --- int(-7) --- testing: '-7.7' % '123e5' --- @@ -163,23 +163,23 @@ int(-7) --- testing: '-7.7' % '3.4a' --- int(-1) --- testing: '-7.7' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: 'abc' % '0' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'abc' % '65' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'abc' % '-44' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'abc' % '1.2' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'abc' % '-7.7' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'abc' % 'abc' --- TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '123abc' --- TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % '123e5' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'abc' % '123e5xyz' --- TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'abc' % ' 123abc' --- @@ -231,7 +231,7 @@ int(0) --- testing: '123e5' % '-7.7' --- int(6) --- testing: '123e5' % 'abc' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: '123e5' % '123abc' --- int(0) --- testing: '123e5' % '123e5' --- @@ -247,7 +247,7 @@ int(0) --- testing: '123e5' % '3.4a' --- int(0) --- testing: '123e5' % 'a5.9' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: string % non-numeric-string --- testing: '123e5xyz' % '0' --- DivisionByZeroError: Modulo by zero --- testing: '123e5xyz' % '65' --- @@ -389,21 +389,21 @@ int(0) --- testing: '3.4a' % 'a5.9' --- TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '0' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'a5.9' % '65' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'a5.9' % '-44' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'a5.9' % '1.2' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'a5.9' % '-7.7' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'a5.9' % 'abc' --- TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '123abc' --- TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % '123e5' --- -TypeError: Unsupported operand types: non-numeric-string % non-numeric-string +TypeError: Unsupported operand types: non-numeric-string % string --- testing: 'a5.9' % '123e5xyz' --- TypeError: Unsupported operand types: non-numeric-string % non-numeric-string --- testing: 'a5.9' % ' 123abc' --- diff --git a/tests/lang/operators/multiply_variationStr.phpt b/tests/lang/operators/multiply_variationStr.phpt index 46757d8f64f89..946aa3a1d840f 100644 --- a/tests/lang/operators/multiply_variationStr.phpt +++ b/tests/lang/operators/multiply_variationStr.phpt @@ -34,7 +34,7 @@ float(0) --- testing: '0' * '-7.7' --- float(-0) --- testing: '0' * 'abc' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: '0' * '123abc' --- int(0) --- testing: '0' * '123e5' --- @@ -50,7 +50,7 @@ int(0) --- testing: '0' * '3.4a' --- float(0) --- testing: '0' * 'a5.9' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: '65' * '0' --- int(0) --- testing: '65' * '65' --- @@ -62,7 +62,7 @@ float(78) --- testing: '65' * '-7.7' --- float(-500.5) --- testing: '65' * 'abc' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: '65' * '123abc' --- int(7995) --- testing: '65' * '123e5' --- @@ -78,7 +78,7 @@ int(7995) --- testing: '65' * '3.4a' --- float(221) --- testing: '65' * 'a5.9' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: '-44' * '0' --- int(0) --- testing: '-44' * '65' --- @@ -90,7 +90,7 @@ float(-52.8) --- testing: '-44' * '-7.7' --- float(338.8) --- testing: '-44' * 'abc' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: '-44' * '123abc' --- int(-5412) --- testing: '-44' * '123e5' --- @@ -106,7 +106,7 @@ int(-5412) --- testing: '-44' * '3.4a' --- float(-149.6) --- testing: '-44' * 'a5.9' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: '1.2' * '0' --- float(0) --- testing: '1.2' * '65' --- @@ -118,7 +118,7 @@ float(1.44) --- testing: '1.2' * '-7.7' --- float(-9.24) --- testing: '1.2' * 'abc' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: '1.2' * '123abc' --- float(147.6) --- testing: '1.2' * '123e5' --- @@ -134,7 +134,7 @@ float(147.6) --- testing: '1.2' * '3.4a' --- float(4.08) --- testing: '1.2' * 'a5.9' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: '-7.7' * '0' --- float(-0) --- testing: '-7.7' * '65' --- @@ -146,7 +146,7 @@ float(-9.24) --- testing: '-7.7' * '-7.7' --- float(59.290000000000006) --- testing: '-7.7' * 'abc' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: '-7.7' * '123abc' --- float(-947.1) --- testing: '-7.7' * '123e5' --- @@ -162,23 +162,23 @@ float(-947.1) --- testing: '-7.7' * '3.4a' --- float(-26.18) --- testing: '-7.7' * 'a5.9' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: 'abc' * '0' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'abc' * '65' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'abc' * '-44' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'abc' * '1.2' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'abc' * '-7.7' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'abc' * 'abc' --- Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '123abc' --- Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * '123e5' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'abc' * '123e5xyz' --- Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'abc' * ' 123abc' --- @@ -230,7 +230,7 @@ float(14760000) --- testing: '123e5' * '-7.7' --- float(-94710000) --- testing: '123e5' * 'abc' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: '123e5' * '123abc' --- float(1512900000) --- testing: '123e5' * '123e5' --- @@ -246,7 +246,7 @@ float(1512900000) --- testing: '123e5' * '3.4a' --- float(41820000) --- testing: '123e5' * 'a5.9' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: string * non-numeric-string --- testing: '123e5xyz' * '0' --- float(0) --- testing: '123e5xyz' * '65' --- @@ -388,21 +388,21 @@ float(11.559999999999999) --- testing: '3.4a' * 'a5.9' --- Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '0' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'a5.9' * '65' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'a5.9' * '-44' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'a5.9' * '1.2' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'a5.9' * '-7.7' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'a5.9' * 'abc' --- Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '123abc' --- Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * '123e5' --- -Unsupported operand types: non-numeric-string * non-numeric-string +Unsupported operand types: non-numeric-string * string --- testing: 'a5.9' * '123e5xyz' --- Unsupported operand types: non-numeric-string * non-numeric-string --- testing: 'a5.9' * ' 123abc' --- diff --git a/tests/lang/operators/subtract_variationStr.phpt b/tests/lang/operators/subtract_variationStr.phpt index e1a6ddce4ef35..18ce4f6088536 100644 --- a/tests/lang/operators/subtract_variationStr.phpt +++ b/tests/lang/operators/subtract_variationStr.phpt @@ -34,7 +34,7 @@ float(-1.2) --- testing: '0' - '-7.7' --- float(7.7) --- testing: '0' - 'abc' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: '0' - '123abc' --- int(-123) --- testing: '0' - '123e5' --- @@ -50,7 +50,7 @@ int(-123) --- testing: '0' - '3.4a' --- float(-3.4) --- testing: '0' - 'a5.9' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: '65' - '0' --- int(65) --- testing: '65' - '65' --- @@ -62,7 +62,7 @@ float(63.8) --- testing: '65' - '-7.7' --- float(72.7) --- testing: '65' - 'abc' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: '65' - '123abc' --- int(-58) --- testing: '65' - '123e5' --- @@ -78,7 +78,7 @@ int(-58) --- testing: '65' - '3.4a' --- float(61.6) --- testing: '65' - 'a5.9' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: '-44' - '0' --- int(-44) --- testing: '-44' - '65' --- @@ -90,7 +90,7 @@ float(-45.2) --- testing: '-44' - '-7.7' --- float(-36.3) --- testing: '-44' - 'abc' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: '-44' - '123abc' --- int(-167) --- testing: '-44' - '123e5' --- @@ -106,7 +106,7 @@ int(-167) --- testing: '-44' - '3.4a' --- float(-47.4) --- testing: '-44' - 'a5.9' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: '1.2' - '0' --- float(1.2) --- testing: '1.2' - '65' --- @@ -118,7 +118,7 @@ float(0) --- testing: '1.2' - '-7.7' --- float(8.9) --- testing: '1.2' - 'abc' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: '1.2' - '123abc' --- float(-121.8) --- testing: '1.2' - '123e5' --- @@ -134,7 +134,7 @@ float(-121.8) --- testing: '1.2' - '3.4a' --- float(-2.2) --- testing: '1.2' - 'a5.9' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: '-7.7' - '0' --- float(-7.7) --- testing: '-7.7' - '65' --- @@ -146,7 +146,7 @@ float(-8.9) --- testing: '-7.7' - '-7.7' --- float(0) --- testing: '-7.7' - 'abc' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: '-7.7' - '123abc' --- float(-130.7) --- testing: '-7.7' - '123e5' --- @@ -162,23 +162,23 @@ float(-130.7) --- testing: '-7.7' - '3.4a' --- float(-11.1) --- testing: '-7.7' - 'a5.9' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: 'abc' - '0' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'abc' - '65' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'abc' - '-44' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'abc' - '1.2' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'abc' - '-7.7' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'abc' - 'abc' --- Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '123abc' --- Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - '123e5' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'abc' - '123e5xyz' --- Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'abc' - ' 123abc' --- @@ -230,7 +230,7 @@ float(12299998.8) --- testing: '123e5' - '-7.7' --- float(12300007.7) --- testing: '123e5' - 'abc' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: '123e5' - '123abc' --- float(12299877) --- testing: '123e5' - '123e5' --- @@ -246,7 +246,7 @@ float(12299877) --- testing: '123e5' - '3.4a' --- float(12299996.6) --- testing: '123e5' - 'a5.9' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: string - non-numeric-string --- testing: '123e5xyz' - '0' --- float(12300000) --- testing: '123e5xyz' - '65' --- @@ -388,21 +388,21 @@ float(0) --- testing: '3.4a' - 'a5.9' --- Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '0' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'a5.9' - '65' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'a5.9' - '-44' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'a5.9' - '1.2' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'a5.9' - '-7.7' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'a5.9' - 'abc' --- Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '123abc' --- Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - '123e5' --- -Unsupported operand types: non-numeric-string - non-numeric-string +Unsupported operand types: non-numeric-string - string --- testing: 'a5.9' - '123e5xyz' --- Unsupported operand types: non-numeric-string - non-numeric-string --- testing: 'a5.9' - ' 123abc' --- From f18f61180a91244c8fdbaa24c3857c43e283e51f Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Date: Thu, 4 Dec 2025 15:44:44 -0500 Subject: [PATCH 15/15] Update: Unit Test to php#20632 --- Zend/tests/type_declarations/scalar_strict.phpt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Zend/tests/type_declarations/scalar_strict.phpt b/Zend/tests/type_declarations/scalar_strict.phpt index dc381dead33b0..5c4d031a9f78b 100644 --- a/Zend/tests/type_declarations/scalar_strict.phpt +++ b/Zend/tests/type_declarations/scalar_strict.phpt @@ -60,7 +60,7 @@ Testing 'int' type: int(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric-string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d @@ -113,7 +113,7 @@ Testing 'float' type: float(1) *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, non-numeric-string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d *** Trying float(1) float(1) @@ -219,7 +219,7 @@ Testing 'bool' type: *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d *** Trying string(1) "1" -*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, non-numeric-string given, called in %s on line %d +*** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d *** Trying float(1) *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d