]> granicus.if.org Git - php/commitdiff
add test
authorStanislav Malyshev <stas@php.net>
Wed, 4 May 2005 16:39:09 +0000 (16:39 +0000)
committerStanislav Malyshev <stas@php.net>
Wed, 4 May 2005 16:39:09 +0000 (16:39 +0000)
tests/lang/bug32924.phpt [new file with mode: 0644]
tests/lang/inc.inc [new file with mode: 0644]

diff --git a/tests/lang/bug32924.phpt b/tests/lang/bug32924.phpt
new file mode 100644 (file)
index 0000000..289dd1b
--- /dev/null
@@ -0,0 +1,13 @@
+--TEST--
+Bug #32924 (prepend does not add file to included files)
+--INI--
+auto_prepend_file=tests/lang/inc.inc
+--FILE--
+<?php 
+include_once('tests/lang/inc.inc');
+require_once('tests/lang/inc.inc');
+?>
+END
+--EXPECT--
+Included!
+END
diff --git a/tests/lang/inc.inc b/tests/lang/inc.inc
new file mode 100644 (file)
index 0000000..e1a05d6
--- /dev/null
@@ -0,0 +1,3 @@
+<?
+echo "Included!\n";
+?>