diff options
author | Xinchen Hui <laruence@php.net> | 2014-05-26 15:40:57 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-05-26 15:40:57 +0800 |
commit | cdacf4c90aa26a7f99dc940fb06f32c3960d6512 (patch) | |
tree | aed040e0a6b0a196bc2567931e4d3c53683daa98 | |
parent | 347b430a03a394f31048ad16b2bbc22e29f3baf5 (diff) | |
parent | b0b0be176fd24683b761216019e2ce5670a741bf (diff) | |
download | php-git-cdacf4c90aa26a7f99dc940fb06f32c3960d6512.tar.gz |
Merge branch 'PHP-5.6'
-rw-r--r-- | ext/opcache/tests/issue0183.phpt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ext/opcache/tests/issue0183.phpt b/ext/opcache/tests/issue0183.phpt new file mode 100644 index 0000000000..9e18f6d2e8 --- /dev/null +++ b/ext/opcache/tests/issue0183.phpt @@ -0,0 +1,25 @@ +--TEST-- +ISSUE #183 (TMP_VAR is not only used once) +--INI-- +opcache.enable=1 +opcache.enable_cli=1 +opcache.optimization_level=-1 +--SKIPIF-- +<?php require_once('skipif.inc'); ?> +<?php if (PHP_OS != "Linux") die("skip, only for linux"); ?> +--FILE-- +<?php + +switch (PHP_OS) { + case "Windows": + break; + case "Darwin": + break; + case "Linux": + echo "okey"; + break; + default: + break; +} +--EXPECT-- +okey |