]> granicus.if.org Git - php/commitdiff
MFB51: As per agreement during PDM, remove the E_STRICT deprecation notice
authorIlia Alshanetsky <iliaa@php.net>
Sun, 12 Mar 2006 16:53:41 +0000 (16:53 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 12 Mar 2006 16:53:41 +0000 (16:53 +0000)
from "var".

Zend/zend_language_parser.y

index 7414657081d20f273f120840465184962b74d455..0d371fbfa13f4625a107f0509d45acd469833866 100644 (file)
@@ -506,7 +506,7 @@ method_body:
 
 variable_modifiers:
                non_empty_member_modifiers              { $$ = $1; }
-       |       T_VAR                                                   { zend_error(E_STRICT, "var: Deprecated. Please use the public/private/protected modifiers"); Z_LVAL($$.u.constant) = ZEND_ACC_PUBLIC; }
+       |       T_VAR                                                   { Z_LVAL($$.u.constant) = ZEND_ACC_PUBLIC; }
 ;
 
 method_modifiers: