diff --git a/tests/lang/bug35176.phpt b/tests/lang/bug35176.phpt
index dd56c76a682..2928f7ec455 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--
--EXPECTF--
-Warning: require_once(nonexisiting.php) [function.require-once.html]: failed to open stream: No such file or directory in %sbug35176.php on line 2
+Warning: require_once(nonexisiting.php) [function.require-once.html]: failed to open stream: No such file or directory in %sbug35176.php on line 2
-Fatal error: require_once() [function.require.html]: Failed opening required 'nonexisiting.php' (%s) in %sbug35176.php on line 2
+Fatal error: require_once() [function.require.html]: Failed opening required 'nonexisiting.php' (%s) in %sbug35176.php on line 2