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

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

update php

File size: 185 bytes
Line 
1--TEST--
2Disallow list() usage as if it were an array
3--FILE--
4<?php
5
6var_dump(list(1, 2, 3));
7
8?>
9--EXPECTF--
10Parse error: syntax error, unexpected ')', expecting '=' in %s on line %d
Note: See TracBrowser for help on using the repository browser.