mirror of
https://github.com/php/php-src.git
synced 2026-03-27 01:32:22 +01:00
Merge branch 'master' into phpng
This commit is contained in:
25
ext/opcache/tests/issue0183.phpt
Normal file
25
ext/opcache/tests/issue0183.phpt
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user