mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
e9f783fcdd
For rationale, see #6787 Extensions migrated in part 3: * ftp * gmp * iconv * opcache * shmop
13 lines
236 B
PHP
13 lines
236 B
PHP
--TEST--
|
|
Block pass: Bugs in BOOL/QM_ASSIGN elision
|
|
--EXTENSIONS--
|
|
opcache
|
|
--FILE--
|
|
<?php
|
|
(bool) (true ? $x : $y);
|
|
(bool) (true ? new stdClass : null);
|
|
(bool) new stdClass;
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Undefined variable $x in %s on line %d
|