bjori Tue, 16 Aug 2011 14:52:54 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=315030
Log: docref_root is now required for html_errors to do anything Changed paths: U php/php-src/branches/PHP_5_4/tests/lang/bug35176.phpt U php/php-src/trunk/tests/lang/bug35176.phpt Modified: php/php-src/branches/PHP_5_4/tests/lang/bug35176.phpt =================================================================== --- php/php-src/branches/PHP_5_4/tests/lang/bug35176.phpt 2011-08-16 14:47:47 UTC (rev 315029) +++ php/php-src/branches/PHP_5_4/tests/lang/bug35176.phpt 2011-08-16 14:52:54 UTC (rev 315030) @@ -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 @@ ?> --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 /> Modified: php/php-src/trunk/tests/lang/bug35176.phpt =================================================================== --- php/php-src/trunk/tests/lang/bug35176.phpt 2011-08-16 14:47:47 UTC (rev 315029) +++ php/php-src/trunk/tests/lang/bug35176.phpt 2011-08-16 14:52:54 UTC (rev 315030) @@ -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 @@ ?> --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 />
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php