mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Some tests fail if the error_log is overriden by the loaded ini configuration. Explicitly set it to an empty value to prevent the failures. See https://github.com/php/php-src/issues/10737#issuecomment-1452899299 Closes GH-10772.
15 lines
213 B
PHP
15 lines
213 B
PHP
--TEST--
|
|
Bug #79919 (Stack use-after-scope in define())
|
|
--INI--
|
|
error_log=
|
|
--EXTENSIONS--
|
|
simplexml
|
|
--FILE--
|
|
<?php
|
|
$b = error_log(0);
|
|
$b = simplexml_load_string('<xml/>', null, $b);
|
|
define(0, $b);
|
|
?>
|
|
--EXPECT--
|
|
0
|