xref: /PHP-8.3/Zend/tests/bug60169.phpt (revision 7aacc705)
1--TEST--
2Bug #60169 (Conjunction of ternary and list crashes PHP)
3--FILE--
4<?php
5error_reporting(0);
6$arr  = array("test");
7list($a,$b) = is_array($arr)? $arr : $arr;
8list($c,$d) = is_array($arr)?: NULL;
9echo "ok\n";
10?>
11--EXPECT--
12ok
13