diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-01 13:20:42 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-02 10:34:08 +0200 |
commit | 2f92957fd3d8d87e73013c016e479451db0c6a1e (patch) | |
tree | ca7d2d34038d7e1fb0e511962ad0db5e57390c63 /ext/standard/tests/class_object/is_subclass_of_variation_004.phpt | |
parent | 2041c9abf5fdaa9d0e632e5e6e4f3488159c9bfe (diff) | |
download | php-git-2f92957fd3d8d87e73013c016e479451db0c6a1e.tar.gz |
Convert some notices to warnings
Part of https://wiki.php.net/rfc/engine_warnings.
Diffstat (limited to 'ext/standard/tests/class_object/is_subclass_of_variation_004.phpt')
-rw-r--r-- | ext/standard/tests/class_object/is_subclass_of_variation_004.phpt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt b/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt index 3e5447308b..dba37cc3f4 100644 --- a/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt +++ b/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt @@ -13,7 +13,7 @@ spl_autoload_register(function ($className) { }); function test_error_handler($err_no, $err_msg, $filename, $linenum) { - echo "Error: $err_no - $err_msg, $filename($linenum)\n"; + echo "Error: $err_no - $err_msg\n"; } set_error_handler('test_error_handler'); @@ -84,10 +84,10 @@ foreach($values as $value) { echo "Done"; ?> ---EXPECTF-- +--EXPECT-- *** Testing is_subclass_of() : usage variations *** -Error: 8 - Undefined variable: undefined_var, %s(69) -Error: 8 - Undefined variable: unset_var, %s(72) +Error: 2 - Undefined variable: undefined_var +Error: 2 - Undefined variable: unset_var Arg value 0 bool(false) @@ -115,23 +115,23 @@ bool(false) Arg value 0.5 bool(false) -Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(%d) +Error: 2 - Array to string conversion Arg value Array bool(false) -Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(%d) +Error: 2 - Array to string conversion Arg value Array bool(false) -Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(%d) +Error: 2 - Array to string conversion Arg value Array bool(false) -Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(%d) +Error: 2 - Array to string conversion Arg value Array bool(false) -Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(%d) +Error: 2 - Array to string conversion Arg value Array bool(false) |