As per the notes at http://www.php.net/~derick/meeting-notes.html,
section 2.4.2: 'We make "var" an alias for "public" and remove the
warning for it.'
Could something like the attached patch be included as part of 5.1.2?
Michel Sisolak
[EMAIL PROTECTED]
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
--- zend_language_parser.y Mon Oct 17 03:57:00 2005
+++ zend_language_parser.y.new Thu Dec 01 15:35:04 2005
@@ -501,7 +501,7 @@
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:
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php