Hello François, > For a set of 'extended' types like 'number', and their matching rules against > zvals, this may help : > > https://wiki.php.net/rfc/dbc#dbc_types_vs_zval_types
I did not follow the DoC-discussion so far but from a quick glance at the list there are at least cases that need a further look: 1. There is no float (without !) in the list. It should be IS_LONG = yes (if value does not exceed float boundaries), IS_DOUBLE = yes and IS_STRING = yes (same as for IS_LONG). 2. callable is missing a check for objects that contain __invoke() which is also a valid callable. Greets Dennis Birkholz -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php