Re: theoretical PHP arrays

From: Date: Wed, 30 May 2007 23:13:52 +0000
Subject: Re: theoretical PHP arrays
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-29971@lists.php.net to get a copy of this message
I trying to find a reason why array functions are not allowed to be used as normal arrays. To clarify, I'm allowed to write
array(), despite its appearance, is not a function - it's an operator. But it won't work with functions too.
Maybe is THIS the reason why it doesn't work in PHP? ;-)
I'd suppose the first reason for that would be nobody proposed a patch that would allow the parser to process such things. ;) If there's one, we could then discuss its merits. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/

« previous php.internals (#29971) next »