1--TEST--
2JIT ASSIGN_DIM: 011
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7--FILE--
8<?php
9$my_var = null <
10set_error_handler(function($code, $msg) use(&$my_var) {
11	echo "Err: $msg\n";
12    $my_var[] = $my_var = 0;
13});
14try {
15    $my_var[] = "";
16} catch (Throwable $e) {
17    echo "Exception: " . $e->getMessage() . "\n";
18}
19?>
20DONE
21--EXPECT--
22Err: Automatic conversion of false to array is deprecated
23Exception: Cannot use a scalar value as an array
24DONE
25