On 15/01/14 19:24, Robert Stoll wrote:
But about some details. I am not sure if I got the implementation right (haven't done any code contributions so far, so
I am not really familiar with the source code) but it seems that a check for NULL is implemented for the actual
parameter which is perfectly fine (done for other type hints as well) but it also checks if all members of an array are
not NULL and the check returns a failure if NULL is detected. I think that's wrong, NULL is a perfect valid entry in an
array.
I agree with this. NULL should be considered a valid substitute for a value of any type.
--
Andrea Faulds
http://ajf.me/