diff options
Diffstat (limited to 'Zend/tests/bug77530.phpt')
| -rw-r--r-- | Zend/tests/bug77530.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Zend/tests/bug77530.phpt b/Zend/tests/bug77530.phpt new file mode 100644 index 0000000000..fdb2bac78b --- /dev/null +++ b/Zend/tests/bug77530.phpt @@ -0,0 +1,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 |
