source: src/router/php7/Zend/tests/bug72441.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 3 months ago

update php

File size: 238 bytes
Line 
1--TEST--
2Bug #72441 (Segmentation fault: RFC list_keys)
3--FILE--
4<?php
5
6$array = [];
7
8list(
9        '' => $foo,
10        $bar
11) = $array;
12?>
13--EXPECTF--
14Fatal error: Cannot mix keyed and unkeyed array entries in assignments in %sbug72441.php on line %d
Note: See TracBrowser for help on using the repository browser.