diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2019-11-15 20:31:19 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2019-12-09 19:43:34 +0100 |
commit | b2dc833c1a243ba50ab76a0212f071bd8d1f7c04 (patch) | |
tree | 092462b8082c213131a0291a74f08b955a88479a /tests/classes | |
parent | a74484cc98986f8db0e9e037dc267d8e5eec2f90 (diff) | |
download | php-git-b2dc833c1a243ba50ab76a0212f071bd8d1f7c04.tar.gz |
Only accept string as the format parameter of *printf() functions
Diffstat (limited to 'tests/classes')
-rw-r--r-- | tests/classes/tostring_004.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/classes/tostring_004.phpt b/tests/classes/tostring_004.phpt index 997f2e2e7f..3627cbf215 100644 --- a/tests/classes/tostring_004.phpt +++ b/tests/classes/tostring_004.phpt @@ -53,7 +53,7 @@ try { --EXPECT-- Object with no __toString(): Try 1: -Object of class stdClass could not be converted to string +printf() expects parameter 1 to be string, object given Try 2: |