summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 1e2dfb5a4d..cfe058b72b 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -8774,7 +8774,7 @@ void zend_compile_class_name(znode *result, zend_ast *ast) /* {{{ */
if (expr_node.op_type == IS_CONST) {
/* Unlikely case that happen if class_ast is constant folded.
* Handle it here, to avoid needing a CONST specialization in the VM. */
- zend_error_noreturn(E_COMPILE_ERROR, "Cannot use ::class on value of type %s",
+ zend_error_noreturn(E_COMPILE_ERROR, "Cannot use \"::class\" on value of type %s",
zend_zval_type_name(&expr_node.u.constant));
}