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

Zend/zend_language_parser.y

index 1843c8b1e68f88c606fb90ec5454f543324be3bb..31d0bed24e339aa66d566a16b22a3a52d9352ba9 100644 (file)
@@ -501,7 +501,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"); $$.u.constant.value.lval = ZEND_ACC_PUBLIC; }
+       |       T_VAR                                                   { $$.u.constant.value.lval = ZEND_ACC_PUBLIC; }
 ;
 
 method_modifiers: