diff options
author | Stanislav Malyshev <stas@php.net> | 2005-05-04 16:39:09 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2005-05-04 16:39:09 +0000 |
commit | 4dc7c06b2a3ad5ca816d4e7b129ab9714a56bfb6 (patch) | |
tree | 24452f05786c8c5833573c6800398565cb672af7 /tests | |
parent | 1ef8064753be4b3a53e5a8b81a224792c03ae37d (diff) | |
download | php-git-4dc7c06b2a3ad5ca816d4e7b129ab9714a56bfb6.tar.gz |
add test
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"; +?> |