allow passing Unicode strings when a boolean is expected

This commit is contained in:
Antony Dovgal 2007-05-14 12:47:23 +00:00
parent f6a01b2ace
commit fcc82f1834

View file

@ -650,6 +650,7 @@ static char *zend_parse_arg_impl(int arg_num, zval **arg, va_list *va, char **sp
switch (Z_TYPE_PP(arg)) { switch (Z_TYPE_PP(arg)) {
case IS_NULL: case IS_NULL:
case IS_STRING: case IS_STRING:
case IS_UNICODE:
case IS_LONG: case IS_LONG:
case IS_DOUBLE: case IS_DOUBLE:
case IS_BOOL: case IS_BOOL: