mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Migrate to PHP-Parser 4.12.0 and regenerate some arginfos
This commit is contained in:
parent
590af4678b
commit
23b1c4a982
@ -2303,7 +2303,7 @@ function initPhpParser() {
|
||||
}
|
||||
|
||||
$isInitialized = true;
|
||||
$version = "4.9.0";
|
||||
$version = "4.12.0";
|
||||
$phpParserDir = __DIR__ . "/PHP-Parser-$version";
|
||||
if (!is_dir($phpParserDir)) {
|
||||
installPhpParser($version, $phpParserDir);
|
||||
|
@ -100,7 +100,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_replaceChild, 0, 0, 2)
|
||||
ZEND_ARG_OBJ_INFO(0, child, DOMNode, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMImplementation_getFeature, 0, 2, never, 0)
|
||||
ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMImplementation_getFeature, 0, 2, IS_NEVER, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, feature, IS_STRING, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, version, IS_STRING, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: 889a6eed2d62fbb6af168146840189d37765dbaa */
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_EmptyIterator_current, 0, 0, never, 0)
|
||||
ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_EmptyIterator_current, 0, 0, IS_NEVER, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_EmptyIterator_next, 0, 0, IS_VOID, 0)
|
||||
|
@ -833,7 +833,7 @@ ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_trim, 0, 1, IS_STRING, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
|
||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, characters, IS_STRING, 0, "\" \\n\\r\\t\\v\\0\"")
|
||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, characters, IS_STRING, 0, "\" \\n\\r\\t\\v\\x00\"")
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
#define arginfo_rtrim arginfo_trim
|
||||
|
Loading…
Reference in New Issue
Block a user