xref: /PHP-8.0/ext/opcache/tests/issue0183.phpt (revision 7aacc705)
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--SKIPIF--
8<?php require_once('skipif.inc'); ?>
9<?php if (PHP_OS != "Linux") die("skip, only for linux"); ?>
10--FILE--
11<?php
12
13switch (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?>
25--EXPECT--
26okey
27