mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
6d8760677d
- altered EXPECT for parser errors. This may or may not be a Good Thing.
8 lines
151 B
PHP
Executable File
8 lines
151 B
PHP
Executable File
--TEST--
|
|
059: Constant arrays
|
|
--FILE--
|
|
<?php
|
|
const C = array();
|
|
--EXPECTF--
|
|
Fatal error: Arrays are not allowed as constants in %sns_059.php on line 2
|