On 6/15/06, Lukas Smith <[EMAIL PROTECTED]> wrote:
Hannes Magnusson wrote:
> Hi all
>
> I am sure this was decided upon long time ago, but there seem to be
> few out there that do not want this...
> should I revert array type hinting for internal functions or continue
> adding them were appropriate while I add the argument info?
>
> Just to be clear; I'm introducing array type hinting for all internal
> functions expecting array and removing therefor useless array type
> checks inside the functions.
> These changes however introduce tiny backward compatibility break
> since it'll emit E_RECOVERABLE rather than E_WARNING...
Is this a similar change as the array_merge() change?
If the functions do castings it won't get type hinted array, but those
who specifically expect array, and bail out when they get whatever
else, will get type hinted array.
-Hannes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php