1--TEST-- 2JIT INC: 021 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.file_update_protection=0 7opcache.jit_buffer_size=1M 8opcache.protect_memory=1 9;opcache.jit_debug=257 10--EXTENSIONS-- 11opcache 12--SKIPIF-- 13<?php 14if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); 15?> 16--FILE-- 17<?php 18function inc(int|float $x) { 19 return ++$x; 20} 21function dec(int|float $x) { 22 return --$x; 23} 24var_dump(inc(PHP_INT_MAX)); 25var_dump(inc(1.1)); 26var_dump(dec(PHP_INT_MIN)); 27var_dump(dec(1.1)); 28?> 29--EXPECT-- 30float(9.223372036854776E+18) 31float(2.1) 32float(-9.223372036854776E+18) 33float(0.10000000000000009) 34