summaryrefslogtreecommitdiff
path: root/tests/classes
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2019-11-15 20:31:19 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2019-12-09 19:43:34 +0100
commitb2dc833c1a243ba50ab76a0212f071bd8d1f7c04 (patch)
tree092462b8082c213131a0291a74f08b955a88479a /tests/classes
parenta74484cc98986f8db0e9e037dc267d8e5eec2f90 (diff)
downloadphp-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.phpt2
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: