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

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

update php

File size: 180 bytes
Line 
1--TEST--
2Disallow tail empty elements in normal arrays
3--FILE--
4<?php
5
6var_dump([1, 2, ,]);
7
8?>
9--EXPECTF--
10Fatal error: Cannot use empty array elements in arrays in %s on line %d
Note: See TracBrowser for help on using the repository browser.