Re: RFC: Making T_FUNCTION optional in method declarations

From: Date: Sun, 28 Nov 2010 15:13:58 +0000
Subject: Re: RFC: Making T_FUNCTION optional in method declarations
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-50658@lists.php.net to get a copy of this message
On Sat, 27 Nov 2010, Johannes Schlüter wrote: > RFC: http://wiki.php.net/rfc/optional-t-function > Patch: > http://schlueters.de/~johannes/php/zend_optional_t_function.diff I'm -1 on this one. Besides this being confusing for people who want to run "newer" code on older PHP versions; this change does nothing but stop you from having to type "function". Something that the parser tells you immediately that you have forgotten this. cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug

« previous php.internals (#50658) next »