mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fix constant() func info
Since PHP 5.6 this can also be an array.
This commit is contained in:
parent
ae837db8cf
commit
40ff001381
@ -268,8 +268,8 @@ static const func_info_t func_infos[] = {
|
||||
FC("extension_loaded", zend_b_s_info),
|
||||
F1("get_extension_funcs", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
|
||||
|
||||
/* ext/statdard */
|
||||
FN("constant", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_LONG | MAY_BE_DOUBLE | MAY_BE_STRING | MAY_BE_RESOURCE),
|
||||
/* ext/standard */
|
||||
FN("constant", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_LONG | MAY_BE_DOUBLE | MAY_BE_STRING | MAY_BE_RESOURCE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY),
|
||||
F1("bin2hex", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
|
||||
F1("hex2bin", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
|
||||
F0("sleep", MAY_BE_FALSE | MAY_BE_LONG),
|
||||
|
Loading…
Reference in New Issue
Block a user