Rasmus Lerdorf wrote:
> Yeah, I am leaning towards that as well.  I don't like the inconsistency
> between direct casting via (int) vs. zend_parse_parameter's strict 
> casting.  It is much simpler to explain that functions will cast to the
> required parameter type and have one consistent way to cast things.

I want be warned about wrong parameters. I (as a doc-guy) would rather
describe strict and non-strict casting than not be warned about
obviously wrong wordwrap("abc", "b").

I naturally agree with consistent parsing of parameters through
zend_parse_parameters() - my script checking if parameters in source
and documentation match uses it.

Jakub Vrana

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

Reply via email to