Re: Introducing "Array Of" RFC

From: Date: Fri, 28 Feb 2014 10:01:36 +0000
Subject: Re: Introducing "Array Of" RFC
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-72859@lists.php.net to get a copy of this message
I do not really understand your point here but I want to shout out that null is definitely a type having only one possible value. This is one thing that PHP got right in contrast to Java, C# etc.
class Foo { private Bar $bar; // What type is $bar with "undefiend" value here? } In PHP there is no type system, so it might seem as this is of type "null". It is not.

« previous php.internals (#72859) next »