diff options
Diffstat (limited to 'Zend/tests/type_declarations/scalar_basic.phpt')
-rw-r--r-- | Zend/tests/type_declarations/scalar_basic.phpt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Zend/tests/type_declarations/scalar_basic.phpt b/Zend/tests/type_declarations/scalar_basic.phpt index 002cab6042..908f1a18b2 100644 --- a/Zend/tests/type_declarations/scalar_basic.phpt +++ b/Zend/tests/type_declarations/scalar_basic.phpt @@ -74,8 +74,7 @@ int(1) int(1) *** Trying string(2) "1a" -E_NOTICE: A non well formed numeric value encountered on line %d -int(1) +*** Caught {closure}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d *** Trying string(1) "a" *** Caught {closure}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d @@ -128,8 +127,7 @@ float(1) float(1.5) *** Trying string(2) "1a" -E_NOTICE: A non well formed numeric value encountered on line %d -float(1) +*** Caught {closure}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d *** Trying string(1) "a" *** Caught {closure}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d |