We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611af05 commit 5867367Copy full SHA for 5867367
Zend/tests/arginfo_zpp_mismatch.phpt
@@ -15,12 +15,12 @@ function test($function) {
15
return;
16
}
17
18
- ob_start();
19
if (is_string($function)) {
20
echo "Testing $function\n";
21
} else {
22
echo "Testing " . get_class($function[0]) . "::$function[1]\n";
23
+ ob_start();
24
try {
25
@$function();
26
} catch (Throwable) {
@@ -66,6 +66,7 @@ foreach (get_defined_functions()["internal"] as $function) {
66
67
foreach (get_declared_classes() as $class) {
68
69
+ echo "Testing newInstanceWithoutConstructor on $class\n";
70
$rc = new ReflectionClass($class);
71
$obj = $rc->newInstanceWithoutConstructor();
72
0 commit comments