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.
13 lines
260 B
PHP
13 lines
260 B
PHP
--TEST--
|
|
Block pass: Bugs in BOOL/QM_ASSIGN elision
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
(bool) (true ? $x : $y);
|
|
(bool) (true ? new stdClass : null);
|
|
(bool) new stdClass;
|
|
?>
|
|
--EXPECTF--
|
|
Notice: Undefined variable: x in %s on line %d
|