Re: [VOTE] Bare Name Array Literal/Dereference

From: Date: Fri, 20 Jun 2014 00:26:15 +0000
Subject: Re: [VOTE] Bare Name Array Literal/Dereference
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-75008@lists.php.net to get a copy of this message
Hi! > I try to be in the habit of explaining my -1s, so I'll explain them > below. They're both reasons that came up in the earlier discussion > thread. Agreeing to all this, but for me it is much more important that we do not actually need it (it doesn't allow to do anything we could not do before), it makes the language more complex (two ways of doing array elements instead of one) and the win is negligible (you save 3 characters per key). On the other side, every tool that does PHP would need to be updated to support this, and everybody using PHP would have to learn to read the new syntax and work with it along with the old one. IMHO not worth it. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#75008) next »