xref: /PHP-8.3/ext/opcache/tests/jit/mod_006.phpt (revision e79dbe11)
1--TEST--
2JIT MOD: 005
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8opcache.protect_memory=1
9--FILE--
10<?php
11function foo(){
12    $a = 1;
13    $b = $a % 0;
14    yield $b;
15}
16?>
17DONE
18--EXPECT--
19DONE