summaryrefslogtreecommitdiff
path: root/Zend/tests/bug77530.phpt
blob: fdb2bac78b17989333f8412be178f215c466eea7 (plain)
1
2
3
4
5
6
7
8
9
10
--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