xref: /PHP-7.1/ext/opcache/tests/bug66440.phpt (revision 9b74dc4a)
1--TEST--
2Bug #66440 (Optimisation of conditional JMPs based on pre-evaluate constant function calls)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7opcache.file_update_protection=0
8--SKIPIF--
9<?php require_once('skipif.inc'); ?>
10--FILE--
11<?php
12if(constant('PHP_BINARY')) {
13	echo "OK\n";
14}
15--EXPECT--
16OK
17