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

Last change on this file since 31874 was 31874, checked in by brainslayer, 5 weeks ago

update php

File size: 164 bytes
Line 
1--TEST--
2Do not allow mixing [] and list()
3--FILE--
4<?php
5
6list([$a]) = [[1]];
7var_dump($a);
8
9?>
10--EXPECTF--
11Fatal error: Cannot mix [] and list() in %s on line %d
Note: See TracBrowser for help on using the repository browser.