Skip to content

Commit 5867367

Browse files
committed
Debugging arginfo_zpp_mismatch.phpt
1 parent 611af05 commit 5867367

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Zend/tests/arginfo_zpp_mismatch.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ function test($function) {
1515
return;
1616
}
1717

18-
ob_start();
1918
if (is_string($function)) {
2019
echo "Testing $function\n";
2120
} else {
2221
echo "Testing " . get_class($function[0]) . "::$function[1]\n";
2322
}
23+
ob_start();
2424
try {
2525
@$function();
2626
} catch (Throwable) {
@@ -66,6 +66,7 @@ foreach (get_defined_functions()["internal"] as $function) {
6666

6767
foreach (get_declared_classes() as $class) {
6868
try {
69+
echo "Testing newInstanceWithoutConstructor on $class\n";
6970
$rc = new ReflectionClass($class);
7071
$obj = $rc->newInstanceWithoutConstructor();
7172
} catch (Throwable) {

0 commit comments

Comments
 (0)