diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-01-29 20:06:13 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-02-17 14:22:17 +0100 |
commit | ac0853eb265784c4238af652de9c54c883ffa99f (patch) | |
tree | e9316872480304e9e74ce89bd15052965cc18438 /Zend/tests/bug73954.phpt | |
parent | 72bd55902d1908857f47555ad69458861e1acd94 (diff) | |
download | php-git-ac0853eb265784c4238af652de9c54c883ffa99f.tar.gz |
Make type error messages more consistent
Closes GH-5092
Diffstat (limited to 'Zend/tests/bug73954.phpt')
-rw-r--r-- | Zend/tests/bug73954.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/bug73954.phpt b/Zend/tests/bug73954.phpt index fb0a6b8f3d..062d438b60 100644 --- a/Zend/tests/bug73954.phpt +++ b/Zend/tests/bug73954.phpt @@ -16,7 +16,7 @@ takes_int(log(tan(3.14))); float(NAN) bool(true) -Fatal error: Uncaught TypeError: Argument 1 passed to takes_int() must be of the type int, float given, called in %s on line 9 and defined in %s:6 +Fatal error: Uncaught TypeError: takes_int() expects argument #1 ($int) to be of type int, float given, called in %s on line %d and defined in %s:%d Stack trace: #0 %s(9): takes_int(NAN) #1 {main} |