diff options
| author | Ondřej Surý <ondrej@sury.org> | 2013-03-29 01:32:44 +0100 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2013-03-29 01:32:44 +0100 |
| commit | cf099ba2ee4e438bae16c3670a14ce0c4390529a (patch) | |
| tree | 062683b6a7226ded35262e94c933b9bd81199314 /ext/opcache/tests | |
| parent | f21eff8954d5956842795ea5653a9a5b8d62caa3 (diff) | |
| download | php-cf099ba2ee4e438bae16c3670a14ce0c4390529a.tar.gz | |
Imported Upstream version 5.5.0~beta2upstream/5.5.0_beta2
Diffstat (limited to 'ext/opcache/tests')
| -rw-r--r-- | ext/opcache/tests/bug64482.inc | 2 | ||||
| -rw-r--r-- | ext/opcache/tests/bug64482.phpt | 17 |
2 files changed, 19 insertions, 0 deletions
diff --git a/ext/opcache/tests/bug64482.inc b/ext/opcache/tests/bug64482.inc new file mode 100644 index 000000000..e3d2b210c --- /dev/null +++ b/ext/opcache/tests/bug64482.inc @@ -0,0 +1,2 @@ +<?php +echo "Dynamic include"; diff --git a/ext/opcache/tests/bug64482.phpt b/ext/opcache/tests/bug64482.phpt new file mode 100644 index 000000000..fa722f6d4 --- /dev/null +++ b/ext/opcache/tests/bug64482.phpt @@ -0,0 +1,17 @@ +--TEST-- +Bug #64482 (Opcodes for dynamic includes should not be cached) +--INI-- +opcache.enable=1 +opcache.enable_cli=1 +--SKIPIF-- +<?php require_once('skipif.inc'); ?> +--FILE-- +<?php +include 'bug64482.inc'; +echo "\n"; +include 'php://filter/read=string.toupper/resource=bug64482.inc'; +echo "\n"; +?> +--EXPECT-- +Dynamic include +DYNAMIC INCLUDE |
