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