xref: /PHP-8.2/Zend/tests/bug77530.phpt (revision ef68cd32)
1--TEST--
2Bug #77530: PHP crashes when parsing '(2)::class'
3--FILE--
4<?php
5
6echo (2)::class;
7
8?>
9--EXPECTF--
10Fatal error: Illegal class name in %s on line %d
11