1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00
Files
archived-php-src/ext/opcache/tests/jit/not_002.phpt
T
2021-05-18 15:32:27 +03:00

23 lines
331 B
PHP

--TEST--
JIT NOT: 001
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--
opcache
--FILE--
<?php
function foo(float $x) {
return !$x;
}
var_dump(foo(1.0));
var_dump(foo(0.0));
?>
--EXPECT--
bool(false)
bool(true)