xref: /PHP-8.1/Zend/tests/bug72395.phpt (revision dcd1c29f)
1--TEST--
2Bug #72395 (list() regression)
3--FILE--
4<?php
5list(,,$a,,$b,) = array(1, 2, 3, 4, 5, 6);
6var_dump($a, $b);
7?>
8--EXPECT--
9int(3)
10int(5)
11