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