xref: /PHP-5.6/ext/opcache/tests/bug71843.phpt (revision 8e2f658f)
1--TEST--
2Bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER (zend_vm_execute.h:3479))
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=0xFFFFBFFF
7--SKIPIF--
8<?php if (!extension_loaded('Zend OPcache')) die("skip"); ?>
9--FILE--
10<?
110 & ~E & ~R;
126 && ~See
13?>
14okey
15--EXPECTF--
16Notice: Use of undefined constant E - assumed 'E' in %sbug71843.php on line %d
17
18Notice: Use of undefined constant R - assumed 'R' in %sbug71843.php on line %d
19
20Notice: Use of undefined constant See - assumed 'See' in %sbug71843.php on line %d
21okey
22