Hello All,
IMHO. I agree with Andi, but the only way to I see fit to implement this is
through polymorphism. If every object is a subclass of an Object class then
passing a NULL reference would make more since and be perfectly legal.
-Justin Hannus
"Andi Gutmans" <[EMAIL PROTECTED]> wrote in me
At 11:03 PM 9/6/2003 +0200, Marcus Börger wrote:
> What needs to be discussed ? Typehinting works with NULL values (It's
> working for me), or am I wrong?
The point was that it doesn't make sense for values passed by reference and
that maybe someone doesn't want to allow NULL which is IMO the norma
Marcus Börger wrote:
> The idea was then to allow NULL only if that's the default value.
NULL is not a value. :P
(Sorry, couldn't resist)
Best Regards
Mike Robinson
http://fiddy8.com/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Cristiano,
Saturday, September 6, 2003, 10:48:25 PM, you wrote:
MB>>Patch to be reviewed by Zeev and Andi.
MB>>http://marcus-boerger.de/php/ext/ze2/ze2-iterators-20030904.diff.txt
MB>>(since one month)
> No replies yet ? :-(
You will hear of it sooner or later :-)
MB - Typehinting wi
- Original Message -
MB>From: "Marcus Börger" <[EMAIL PROTECTED]>
MB>To: "Cristiano Duarte" <[EMAIL PROTECTED]>
MB>Sent: Saturday, September 06, 2003 5:12 PM
MB>Subject: Re: before beta 2
MB>
MB>
MB>Hello Cristiano,
MB>
MB>you should have asked on the list
Sorry about that. It's on the lis