mirror of
https://github.com/php/php-src.git
synced 2025-01-02 08:54:04 +08:00
de9f325c12
Test tests/output/bug74815.phpt was creating an errors.log file in project root directory and didn't removed it after the test.
20 lines
419 B
PHP
20 lines
419 B
PHP
--TEST--
|
|
Bug #74815 crash with a combination of INI entries at startup
|
|
--FILE--
|
|
<?php
|
|
|
|
$php = getenv("TEST_PHP_EXECUTABLE");
|
|
|
|
echo shell_exec("$php -n -d error_log=".__DIR__."/error_log.tmp -d error_reporting=E_ALL -d log_errors=On -d track_errors=On -v");
|
|
|
|
?>
|
|
==DONE==
|
|
--CLEAN--
|
|
<?php
|
|
unlink(__DIR__.'/error_log.tmp');
|
|
?>
|
|
--EXPECTF--
|
|
Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
|
|
%A
|
|
==DONE==
|