diff options
author | Anatol Belski <ab@php.net> | 2017-06-27 16:26:54 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-06-27 16:30:10 +0200 |
commit | e08c0ed8ced788a133b54ad96fdf681158b34e3d (patch) | |
tree | fccfef2cd8d7b8530360d50b813d36fd71ecff25 /tests | |
parent | c0be77aa75f4c8d926eb4979f4b6213dfd0b3a0a (diff) | |
download | php-git-e08c0ed8ced788a133b54ad96fdf681158b34e3d.tar.gz |
Bug #74815 crash with a combination of INI entries at startup
TS related VCWD routines depend on CWD. Thus, a premature CWD
deactivation renders the VCWD layer unusable. Same issue seems to
persist in versions < 7.2, just that the code path is actually unused so
the issue didn't show up. Still might make sense to backport this into
lower branches.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/output/bug74815.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/output/bug74815.phpt b/tests/output/bug74815.phpt new file mode 100644 index 0000000000..be4fa1b2cb --- /dev/null +++ b/tests/output/bug74815.phpt @@ -0,0 +1,15 @@ +--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=errors.log -d error_reporting=E_ALL -d log_errors=On -d track_errors=On -v"); + +?> +==DONE== +--EXPECTF-- +Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 +%A +==DONE== |