xref: /PHP-8.3/ext/opcache/tests/jit/bug80782.phpt (revision e9f783fc)
1--TEST--
2Bug #80782 (DASM_S_RANGE_VREG on PHP_INT_MIN-1)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit=tracing
8opcache.jit_buffer_size=1M
9opcache.protect_memory=1
10--EXTENSIONS--
11opcache
12--FILE--
13<?php
14define('LONG_MIN', PHP_INT_MIN);
15var_dump(LONG_MIN-1);
16?>
17--EXPECTF--
18float(%s)
19