xref: /PHP-8.1/ext/opcache/tests/bug71843.phpt (revision e9f783fc)
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--EXTENSIONS--
8opcache
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