diff options
author | Hannes Magnusson <bjori@php.net> | 2011-08-16 14:52:54 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2011-08-16 14:52:54 +0000 |
commit | 38c06b124ac9eafdbc49233443b216bd6d88708b (patch) | |
tree | 73831fece92cbcd21b74521e77eb3503451b9622 /tests | |
parent | 8fb47cbd48b259ad2240bff92ea0ab2837a680a5 (diff) | |
download | php-git-38c06b124ac9eafdbc49233443b216bd6d88708b.tar.gz |
docref_root is now required for html_errors to do anything
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/lang/bug35176.phpt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lang/bug35176.phpt b/tests/lang/bug35176.phpt index dd56c76a68..2928f7ec45 100755 --- a/tests/lang/bug35176.phpt +++ b/tests/lang/bug35176.phpt @@ -2,6 +2,7 @@ Bug #35176 (include()/require()/*_once() produce wrong error messages about main()) --INI-- html_errors=1 +docref_root="/" error_reporting=4095 --FILE-- <?php @@ -9,6 +10,6 @@ require_once('nonexisiting.php'); ?> --EXPECTF-- <br /> -<b>Warning</b>: require_once(nonexisiting.php) [<a href='function.require-once.html'>function.require-once.html</a>]: failed to open stream: No such file or directory in <b>%sbug35176.php</b> on line <b>2</b><br /> +<b>Warning</b>: require_once(nonexisiting.php) [<a href='/function.require-once.html'>function.require-once.html</a>]: failed to open stream: No such file or directory in <b>%sbug35176.php</b> on line <b>2</b><br /> <br /> -<b>Fatal error</b>: require_once() [<a href='function.require.html'>function.require.html</a>]: Failed opening required 'nonexisiting.php' (%s) in <b>%sbug35176.php</b> on line <b>2</b><br /> +<b>Fatal error</b>: require_once() [<a href='/function.require.html'>function.require.html</a>]: Failed opening required 'nonexisiting.php' (%s) in <b>%sbug35176.php</b> on line <b>2</b><br /> |