mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Add directories for tests relating to - halting the compiler - `declare()` usage - exception handlers - `get_class_methods()` - `get_class_vars()` - `isset()` - name collisions As well as organizing a couple of tests into existing sub directories along the way Work towards GH-15631
11 lines
157 B
PHP
11 lines
157 B
PHP
--TEST--
|
|
Bug #77530: PHP crashes when parsing '(2)::class'
|
|
--FILE--
|
|
<?php
|
|
|
|
echo (2)::class;
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Illegal class name in %s on line %d
|