--TEST-- JIT MOD: 001 --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_update_protection=0 opcache.protect_memory=1 --EXTENSIONS-- opcache --FILE-- getMessage() . "\n"; } try { var_dump(mod(125, 0)); } catch (Throwable $e) { echo "Exception (" . get_class($e) . "): " . $e->getMessage() . "\n"; } ?> --EXPECT-- int(26) int(29) int(-26) int(-29) int(26) int(-26) int(0) Exception (DivisionByZeroError): Modulo by zero