1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 20:53:00 +02:00
Files
archived-php-src/ext/opcache/tests/bug71843.phpt
Nikita Popov c5348850df Fix bug71843.phpt
Is Travis not running opcache tests?
2016-06-05 23:05:03 +02:00

26 lines
673 B
PHP

--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--
<?php
0 & ~E & ~R;
6 && ~See
?>
okey
--EXPECTF--
Notice: Use of undefined constant E - assumed 'E' in %sbug71843.php on line %d
Warning: A non-numeric value encountered in %s on line %d
Notice: Use of undefined constant R - assumed 'R' in %sbug71843.php on line %d
Warning: A non-numeric value encountered in %s on line %d
Notice: Use of undefined constant See - assumed 'See' in %sbug71843.php on line %d
okey