>>- I cannot pass null as the value of a parameter for which a type hint >> has been specified. Is there any way around this restriction, aside >> from removing the type hint? > > Not right now. Stay tuned though.
Related to this... The zend_parse_parameters function invokes zend_check_class to validate an object argument against a given class entry, but zend_check_class does not appear to consider interfaces during its validation. Shouldn't it? - Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php