Skip to content

Commit 2521a3f

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: ensure displays_errors is off (default)
2 parents 890cbbf + 1f2cfd8 commit 2521a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/tests/new_oom.phpt

Lines changed: 1 addition & 1 deletion
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)