Derick Rethans schrieb:
> That seems to work fine already
Even better :-)
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscri
On Sun, 16 Oct 2005, Derick Rethans wrote:
> > In any case, as I could never think of a better syntax to deal with the
> > somewhat harmless ambiguity of default value and "allowing" null, I don't
> > mind
> > having this patch. It should be documented though that this syntax comes to
> > serve b
On Sun, 16 Oct 2005, Sebastian Bergmann wrote:
> Andi Gutmans schrieb:
> > I'm talking about the following function decleration:
> >
> > function testNull(MyClass $obj = 1) {
> > }
>
> The following should work, too, to allow optional, type-hinted Array
> parameters:
>
>function someMetho
Andi Gutmans schrieb:
> I'm talking about the following function decleration:
>
> function testNull(MyClass $obj = 1) {
> }
The following should work, too, to allow optional, type-hinted Array
parameters:
function someMethod(Array $array = array()) {
}
--
Sebastian Bergmann
Ouch, I missed that. Sorry.
At 05:23 PM 10/15/2005, Derick Rethans wrote:
Hello Andi,
On Sat, 15 Oct 2005, Andi Gutmans wrote:
> After the millions of discussions on this topic it would have
been better to
> share this patch with everyone before commiting.
I did, last week:
http://news.php.
Hello Andi,
On Sat, 15 Oct 2005, Andi Gutmans wrote:
> After the millions of discussions on this topic it would have been better to
> share this patch with everyone before commiting.
I did, last week:
http://news.php.net/php.internals/19482
> In any case, as I could never think of a better synt
Hey Marcus, Derick,
After the millions of discussions on this topic it would have been
better to share this patch with everyone before commiting.
In any case, as I could never think of a better syntax to deal with
the somewhat harmless ambiguity of default value and "allowing" null,
I don't mi