Skip to content

Commit 1f2cfd8

Browse files
committed
ensure displays_errors is off (default)
1 parent 8f4738f commit 1f2cfd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/tests/new_oom.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ $file = __DIR__ . '/new_oom.inc';
1111
$php = PHP_BINARY;
1212

1313
foreach (get_declared_classes() as $class) {
14-
$output = shell_exec("$php $file $class 2>&1");
14+
$output = shell_exec("$php --no-php-ini $file $class 2>&1");
1515
if ($output && preg_match('(^\nFatal error: Allowed memory size of [0-9]+ bytes exhausted[^\r\n]* \(tried to allocate [0-9]+ bytes\) in [^\r\n]+ on line [0-9]+$)', $output) !== 1) {
1616
echo "Class $class failed\n";
1717
echo $output, "\n";

0 commit comments

Comments
 (0)