summaryrefslogtreecommitdiff
path: root/tests/lang/bug32924.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug32924.phpt')
-rw-r--r--tests/lang/bug32924.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/lang/bug32924.phpt b/tests/lang/bug32924.phpt
new file mode 100644
index 0000000..d72b0ea
--- /dev/null
+++ b/tests/lang/bug32924.phpt
@@ -0,0 +1,14 @@
+--TEST--
+Bug #32924 (prepend does not add file to included files)
+--INI--
+include_path={PWD}
+auto_prepend_file=inc.inc
+--FILE--
+<?php
+include_once(dirname(__FILE__).'/inc.inc');
+require_once(dirname(__FILE__).'/inc.inc');
+?>
+END
+--EXPECT--
+Included!
+END