Browse Source

Merge branch 'master' into phpng

pull/686/head
Xinchen Hui 12 years ago
parent
commit
0df38cdcb6
  1. 25
      ext/opcache/tests/issue0183.phpt

25
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
Loading…
Cancel
Save