1--TEST--
2QM_ASSIGN of undef var may throw exception
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8--FILE--
9<?php
10set_error_handler(function($_, $m) { throw new Exception($m); });
11function test() {
12    $a = $b;
13    X;
14}
15try {
16    test();
17} catch (Exception $e) {
18    echo $e->getMessage(), "\n";
19}
20?>
21--EXPECT--
22Undefined variable $b
23