mirror of
https://github.com/php/php-src.git
synced 2024-12-16 05:15:03 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
13 lines
154 B
PHP
13 lines
154 B
PHP
--TEST--
|
|
Error case: class constant as an array
|
|
--FILE--
|
|
<?php
|
|
class myclass
|
|
{
|
|
const myConst = array();
|
|
}
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|