From 1f2cfd80096acd9f605360bd09f9471d002373f0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 31 Aug 2023 10:55:19 +0200 Subject: [PATCH] ensure displays_errors is off (default) --- Zend/tests/new_oom.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/tests/new_oom.phpt b/Zend/tests/new_oom.phpt index 1e9b0593e6b..93d1bdf7b69 100644 --- a/Zend/tests/new_oom.phpt +++ b/Zend/tests/new_oom.phpt @@ -11,7 +11,7 @@ $file = __DIR__ . '/new_oom.inc'; $php = PHP_BINARY; foreach (get_declared_classes() as $class) { - $output = shell_exec("$php $file $class 2>&1"); + $output = shell_exec("$php --no-php-ini $file $class 2>&1"); 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) { echo "Class $class failed\n"; echo $output, "\n";