Re: Type hints with null default values

From: Date: Tue, 19 Oct 2004 22:26:11 +0000
Subject: Re: Type hints with null default values
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-13402@lists.php.net to get a copy of this message
Hello Robert, Tuesday, October 19, 2004, 11:33:29 PM, you wrote: > Am I just being a goofball seeing a distinction between allowing a class > hint to accept null vs. it being an optional parameter? > Both Todd's and Marcus' replies seem to indicate otherwise. I didn't say anything else. I said we discussed the difference already and i don't see any sense in allowing null for typehinted values. If at all we change anything i would only agree to make typehinted params optional. And i would agree to the proposed use of [] if that is feasible. I hope this made my position clear. regards marcus

« previous php.internals (#13402) next »