On 2/4/07, Hannes Magnusson <[EMAIL PROTECTED]> wrote:
Hi Andi

function typeHinted([] $array = []) { // type hint array, default to empty one

That's a wrong example.

Type hinting should still rely on the literal name:

function typeHinted(Array $myarray=[])

--Pierre

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to