xref: /PHP-8.0/ext/opcache/tests/bug71843.phpt (revision b2248789)
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<?php
11define('E', 'E');
12define('R', 'R');
13define('See', 'See');
14"0" & ~E & ~R;
156 && ~See
16?>
17okey
18--EXPECT--
19okey
20