Skip to content

Commit b0b0be1

Browse files
committed
Merge branch 'PHP-5.5' into PHP-5.6
2 parents 24a86db + 70699d7 commit b0b0be1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

ext/opcache/tests/issue0183.phpt

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
--TEST--
2+
ISSUE #183 (TMP_VAR is not only used once)
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.optimization_level=-1
7+
--SKIPIF--
8+
<?php require_once('skipif.inc'); ?>
9+
<?php if (PHP_OS != "Linux") die("skip, only for linux"); ?>
10+
--FILE--
11+
<?php
12+
13+
switch (PHP_OS) {
14+
case "Windows":
15+
break;
16+
case "Darwin":
17+
break;
18+
case "Linux":
19+
echo "okey";
20+
break;
21+
default:
22+
break;
23+
}
24+
--EXPECT--
25+
okey

0 commit comments

Comments
 (0)