1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/opcache/tests/bug77215.phpt
Christoph M. Becker 75bc3446f8 Add missing SKIPIFs
All these tests are meant to run with OPcache available, and some will
even fail inevitably without it, so we add OPcache as SKIPIF
requirement.
2019-07-01 17:21:16 +02:00

25 lines
456 B
PHP

--TEST--
Bug #77215: CFG assertion failure on multiple finalizing switch frees in one block
--INI--
opcache.enable_cli=1
opcache.optimization_level=-1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
function _crash($eValeur) {
switch ($eValeur["a"]) {
default:
switch($eValeur["a"]) {
default:
return 2;
}
}
}
var_dump(_crash(["a" => "b"]));
?>
--EXPECT--
int(2)