diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/lang/bug32924.phpt | 13 | ||||
| -rw-r--r-- | tests/lang/inc.inc | 3 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/lang/bug32924.phpt b/tests/lang/bug32924.phpt new file mode 100644 index 0000000000..289dd1b829 --- /dev/null +++ b/tests/lang/bug32924.phpt @@ -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 index 0000000000..e1a05d6de4 --- /dev/null +++ b/tests/lang/inc.inc @@ -0,0 +1,3 @@ +<? +echo "Included!\n"; +?> |
