1--TEST--
2JIT ASSIGN_OP: 001
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7--FILE--
8<?php
9function test1($a) {
10    $a %= 0;
11}
12function test2($a) {
13    $a <<= -1;
14}
15try {
16    test1(1);
17} catch (DivisionByZeroError $e) {
18    echo $e->getMessage(), "\n";
19}
20try {
21    test2(1);
22} catch (ArithmeticError $e) {
23    echo $e->getMessage(), "\n";
24}
25?>
26--EXPECT--
27Modulo by zero
28Bit shift by negative number
29