summaryrefslogtreecommitdiff
path: root/tests/output
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-06-27 16:26:54 +0200
committerAnatol Belski <ab@php.net>2017-06-27 16:30:10 +0200
commite08c0ed8ced788a133b54ad96fdf681158b34e3d (patch)
treefccfef2cd8d7b8530360d50b813d36fd71ecff25 /tests/output
parentc0be77aa75f4c8d926eb4979f4b6213dfd0b3a0a (diff)
downloadphp-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/output')
-rw-r--r--tests/output/bug74815.phpt15
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==