Hello,
Does anyone know what are the official names for the "->" and "=>"
operators? They don't seem to be included in the PHP documentation,
although I would have expected them to reside in the Operators section of
the manual.
Also, the "\" operator used for declaring sub-namespaces is never men
Hi,
To proper support this we'd have to make classes first class elements.
> For making this consistent it would make sense to make functions first
> class elements. And best drop the $ in front of variables and create a
> new language. Everything else becomes a mess.
>
Closures are first-class c
; On Thu, 2010-09-30 at 16:37 +0300, Adi Nita wrote:
> > Perhaps a better idea would be to group the ones that we already have
> > under a common namespace. But this is no news, though.
>
> Even then it would be unlikely that we add another special purpose
> function. This would ha
Perhaps a better idea would be to group the ones that we already have under
a common namespace. But this is no news, though.
Adrian
2010/9/30 Johannes Schlüter
> On Thu, 2010-09-30 at 15:11 +0200, Andre Baumeier wrote:
> > Am 05.09.2010 um 15:06 schrieb Johannes Schlüter:
> >
> > > preg_match(
Hi,
There is already a convention that reserved (magic) function names start
with __ (double underscore). This may be extended to reserved namespaces, as
I pointed out in the original message. Then, one can use say *__array* as it
is, or can alias it with a shorthand notation. Maybe we can turn to
Hi,
On Wed, Apr 21, 2010 at 3:20 AM, Stanislav Malyshev wrote:
Come on. Is it really that hard to write strlen? Or array_merge? Would it be
> better if they were len (of what?) and merge (what?)? I don't think so.
I think you missed the point when I said we should use system namespaces.
There
Hi everyone,
Regarding some of the features that are going to ship in PHP 6, I'm going to
take some liberty and make some personal remarks in the form of positive
criticism.
1. SYSTEM NAMESPACES. There are many PHP built-in functions that act on
certain groups of entities. The best examples are t