summaryrefslogtreecommitdiff
path: root/sapi/cli/tests
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2020-01-13 17:06:26 +0100
committerNicolas Grekas <nicolas.grekas@gmail.com>2020-03-02 15:25:32 +0100
commit9e775db02567d3b90694ebb43f0225875a48e8c9 (patch)
treecd25ebdb5e735ca322eded189b156619a4b43534 /sapi/cli/tests
parentc06850b9fa1b6dc8f4f8a46d6d0ea55e8baf7cbf (diff)
downloadphp-git-9e775db02567d3b90694ebb43f0225875a48e8c9.tar.gz
Define Stringable with __toString():string method
Diffstat (limited to 'sapi/cli/tests')
-rw-r--r--sapi/cli/tests/005.phpt5
1 files changed, 3 insertions, 2 deletions
diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt
index d268104606..ad0ea37c29 100644
--- a/sapi/cli/tests/005.phpt
+++ b/sapi/cli/tests/005.phpt
@@ -37,7 +37,7 @@ string(183) "Class [ <internal:Core> class stdClass ] {
}
"
-string(1969) "Class [ <internal:Core> class Exception implements Throwable ] {
+string(2008) "Class [ <internal:Core> class Exception implements Throwable, Stringable ] {
- Constants [0] {
}
@@ -122,10 +122,11 @@ string(1969) "Class [ <internal:Core> class Exception implements Throwable ] {
}
}
- Method [ <internal:Core, prototype Throwable> public method __toString ] {
+ Method [ <internal:Core, prototype Stringable> public method __toString ] {
- Parameters [0] {
}
+ - Return [ string ]
}
}
}