summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/is_numeric.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-02-19 17:11:00 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-03-11 11:32:20 +0100
commit852485d8ecd784153e41e565a0a87abf99cf4e0d (patch)
tree3c8be88c2c98b5f1b2f9ea51e5d3a20c10baf3ff /ext/standard/tests/general_functions/is_numeric.phpt
parent6bfb119e18e5241b6719a4ad69223d91c465a58e (diff)
downloadphp-git-852485d8ecd784153e41e565a0a87abf99cf4e0d.tar.gz
Adjust tests for zpp TypeError change
Diffstat (limited to 'ext/standard/tests/general_functions/is_numeric.phpt')
-rw-r--r--ext/standard/tests/general_functions/is_numeric.phpt15
1 files changed, 0 insertions, 15 deletions
diff --git a/ext/standard/tests/general_functions/is_numeric.phpt b/ext/standard/tests/general_functions/is_numeric.phpt
index 0019cf18d2..509ee7e686 100644
--- a/ext/standard/tests/general_functions/is_numeric.phpt
+++ b/ext/standard/tests/general_functions/is_numeric.phpt
@@ -145,13 +145,6 @@ foreach ($not_numerics as $type ) {
var_dump( is_numeric($type) );
}
-echo "\n*** Testing error conditions ***\n";
-//Zero argument
-var_dump( is_numeric() );
-
-//arguments more than expected
-var_dump( is_numeric("10", "20") );
-
echo "Done\n";
// close the resources used
@@ -373,12 +366,4 @@ bool(false)
bool(false)
-- Iteration 29 --
bool(false)
-
-*** Testing error conditions ***
-
-Warning: is_numeric() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: is_numeric() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
Done