Skip to content

Commit fe2842d

Browse files
author
Ilia Alshanetsky
committed
MFB51: As per agreement during PDM, remove the E_STRICT deprecation notice
from "var".
1 parent 946c955 commit fe2842d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_language_parser.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ method_body:
506506

507507
variable_modifiers:
508508
non_empty_member_modifiers { $$ = $1; }
509-
| T_VAR { zend_error(E_STRICT, "var: Deprecated. Please use the public/private/protected modifiers"); Z_LVAL($$.u.constant) = ZEND_ACC_PUBLIC; }
509+
| T_VAR { Z_LVAL($$.u.constant) = ZEND_ACC_PUBLIC; }
510510
;
511511

512512
method_modifiers:

0 commit comments

Comments
 (0)