xref: /php-src/ext/opcache/tests/issue0183.phpt (revision e9f783fc)
1--TEST--
2ISSUE #183 (TMP_VAR is not only used once)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7--EXTENSIONS--
8opcache
9--SKIPIF--
10<?php if (PHP_OS != "Linux") die("skip, only for linux"); ?>
11--FILE--
12<?php
13
14switch (PHP_OS) {
15    case "Windows":
16    break;
17    case "Darwin":
18    break;
19    case "Linux":
20        echo "okey";
21    break;
22    default:
23    break;
24}
25?>
26--EXPECT--
27okey
28