Skip to content

Commit 39e6554

Browse files
committed
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src: Add missing opcache return types for functions in spl
2 parents 8a393ec + 91b69be commit 39e6554

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,6 +1461,17 @@ static const func_info_t func_infos[] = {
14611461
F0("imagesetinterpolation", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
14621462
F1("imageresolution", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_LONG),
14631463

1464+
/* ext/spl */
1465+
F1("class_implements", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING),
1466+
F1("class_parents", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING),
1467+
F1("class_uses", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING),
1468+
F0("iterator_apply", MAY_BE_NULL | MAY_BE_LONG),
1469+
F0("iterator_count", MAY_BE_FALSE | MAY_BE_LONG),
1470+
F1("iterator_to_array", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY),
1471+
F1("spl_classes", MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING),
1472+
F1("spl_object_hash", MAY_BE_NULL | MAY_BE_STRING),
1473+
F0("spl_object_id", MAY_BE_NULL | MAY_BE_LONG),
1474+
14641475
};
14651476

14661477
static HashTable func_info;

0 commit comments

Comments
 (0)