mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
75bc3446f8
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.
19 lines
307 B
PHP
19 lines
307 B
PHP
--TEST--
|
|
Edge-cases in elimination of JMPZ JMP with same target
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
$foo = "foo";
|
|
if ($foo . "bar") { goto label; }
|
|
label:
|
|
if ($undef) { goto label2; }
|
|
label2:
|
|
echo "done\n";
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Notice: Undefined variable: undef in %s on line %d
|
|
done
|