In this case I don't see the same advantage and I see a disadvantage in readability and the possibility for PHP to give such an empty argument a meaning in future (although I doubt that'll happen).
Ok, here the real-world example from our HTML generation toolkit: table( tr(td('row 1 cell 1'), td('row 1 cell 2')), tr(td('row 2 cell 1'), td('row 2 cell 2')), );
Being able to easily append lines here would be really nice :-)
It doesn't break existing things _and_ it's up to the programmer to use this feature, same as in array().
I was also thinking of proposing named parameters, i.e. basically removing the need for array() in foo(array('style' => 'hot', 'size' => 42)); but I guess that'll be even more controversial :-)
Ok, that's it from my side, it's up to you now, - Chris
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php