1--TEST--
2Cannot use empty elements in keyed array destructuring
3--FILE--
4<?php
5
6$array = ['a' => 1, 'b' => 2];
7['a' => $a, , 'b' => $b] = $array;
8
9?>
10--EXPECTF--
11Fatal error: Cannot use empty array entries in keyed array assignment in %s on line %d
12