summaryrefslogtreecommitdiff
path: root/sapi/cli/tests
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-04-25 23:10:07 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-04-26 11:13:14 +0200
commit33c3691c332f9f084a04cba6d775b5876da1fec3 (patch)
tree987ee902bd14e17bfad6d856d71598275689c141 /sapi/cli/tests
parentd21d23afef54f152d9ca661909c6d042d6bfcf48 (diff)
downloadphp-git-33c3691c332f9f084a04cba6d775b5876da1fec3.tar.gz
Generate method entries from stubs for Zend classes
Closes GH-5459
Diffstat (limited to 'sapi/cli/tests')
-rw-r--r--sapi/cli/tests/005.phpt8
1 files changed, 7 insertions, 1 deletions
diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt
index 51b957dd7b..530b6cf29b 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(2003) "Class [ <internal:Core> class Exception implements Throwable, Stringable ] {
+string(2159) "Class [ <internal:Core> class Exception implements Throwable, Stringable ] {
- Constants [0] {
}
@@ -84,6 +84,7 @@ string(2003) "Class [ <internal:Core> class Exception implements Throwable, Stri
- Parameters [0] {
}
+ - Return [ string ]
}
Method [ <internal:Core, prototype Throwable> final public method getCode ] {
@@ -96,30 +97,35 @@ string(2003) "Class [ <internal:Core> class Exception implements Throwable, Stri
- Parameters [0] {
}
+ - Return [ string ]
}
Method [ <internal:Core, prototype Throwable> final public method getLine ] {
- Parameters [0] {
}
+ - Return [ int ]
}
Method [ <internal:Core, prototype Throwable> final public method getTrace ] {
- Parameters [0] {
}
+ - Return [ array ]
}
Method [ <internal:Core, prototype Throwable> final public method getPrevious ] {
- Parameters [0] {
}
+ - Return [ ?Throwable ]
}
Method [ <internal:Core, prototype Throwable> final public method getTraceAsString ] {
- Parameters [0] {
}
+ - Return [ string ]
}
Method [ <internal:Core, prototype Stringable> public method __toString ] {