Download src/php/php-src/ext/opcache/tests/jit/add_014.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 489 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/jit/add_014.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/opcache/tests/jit/add_014.phpt
-
curl -L -o add_014.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/jit/add_014.phpt
489 Bytes
| --TEST-- | |
| JIT ADD: 014 incorrect guard elimination | |
| --INI-- | |
| opcache.enable=1 | |
| opcache.enable_cli=1 | |
| opcache.file_update_protection=0 | |
| --FILE-- | |
| function test() { | |
| $s = null; | |
| $i = $a + $a = $j = 2; | |
| for ($a = 0; $i < 20; $a = !$a + $s .= 0xfff0001/34028236692903846346336*6) { | |
| $a = !$a + $a &= 74444444 - 444 >> 4 - $j++; | |
| if ($j > 14) break; | |
| } | |
| } | |
| try { | |
| @test(); | |
| } catch (Throwable $e) { | |
| echo $e->getMessage() . "\n"; | |
| } | |
| --EXPECT-- | |
| Bit shift by negative number | |