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