2016-03-17 19:06:50 +08:00
|
|
|
--TEST--
|
|
|
|
Bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER (zend_vm_execute.h:3479))
|
|
|
|
--INI--
|
|
|
|
opcache.enable=1
|
|
|
|
opcache.enable_cli=1
|
|
|
|
opcache.optimization_level=0xFFFFBFFF
|
|
|
|
--SKIPIF--
|
|
|
|
<?php if (!extension_loaded('Zend OPcache')) die("skip"); ?>
|
|
|
|
--FILE--
|
2016-03-17 22:55:25 +08:00
|
|
|
<?php
|
2019-01-31 19:25:51 +08:00
|
|
|
define('E', 'E');
|
|
|
|
define('R', 'R');
|
|
|
|
define('See', 'See');
|
2016-03-17 19:06:50 +08:00
|
|
|
0 & ~E & ~R;
|
|
|
|
6 && ~See
|
|
|
|
?>
|
|
|
|
okey
|
|
|
|
--EXPECTF--
|
2016-06-06 05:03:52 +08:00
|
|
|
Warning: A non-numeric value encountered in %s on line %d
|
|
|
|
|
|
|
|
Warning: A non-numeric value encountered in %s on line %d
|
2016-03-17 19:06:50 +08:00
|
|
|
okey
|