Hi!

> The difference here is that ustrlen() has an argument type specified in
> arginfo, while strlen() triggers an error through zend_parse_parameters().
> We have practically no arginfo-level type annotations in the standard
> library.

I think we should start doing this. Of course, some functions have
complicated arguments and we can leave it alone for now, but those that
have a clear type we should make arginfo reflect it.

-- 
Stas Malyshev
smalys...@gmail.com

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

Reply via email to