11/* This is a generated file, edit the .stub.php file instead.
2- * Stub hash: a5464ed3bb6f730295df4e7945b5d3125b7af437 */
2+ * Stub hash: 5994291bf2bfdac1b9d8bad9b96d4f443c2f49aa */
33
44ZEND_BEGIN_ARG_INFO_EX (arginfo_class_MongoDB_BSON_Document___construct , 0 , 0 , 0 )
55ZEND_END_ARG_INFO ()
@@ -24,9 +24,17 @@ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_MongoDB_BSON_Document_fromP
2424ZEND_END_ARG_INFO ()
2525#endif
2626
27- ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_class_MongoDB_BSON_Document_get , 0 , 1 , MongoDB \\BSON \\Value , 0 )
27+ #if PHP_VERSION_ID >= 80000
28+ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_class_MongoDB_BSON_Document_get , 0 , 1 , IS_MIXED , 0 )
2829 ZEND_ARG_TYPE_INFO (0 , key , IS_STRING , 0 )
2930ZEND_END_ARG_INFO ()
31+ #endif
32+
33+ #if !(PHP_VERSION_ID >= 80000 )
34+ ZEND_BEGIN_ARG_INFO_EX (arginfo_class_MongoDB_BSON_Document_get , 0 , 0 , 1 )
35+ ZEND_ARG_TYPE_INFO (0 , key , IS_STRING , 0 )
36+ ZEND_END_ARG_INFO ()
37+ #endif
3038
3139ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_class_MongoDB_BSON_Document_getIterator , 0 , 0 , MongoDB \\BSON \\Iterator , 0 )
3240ZEND_END_ARG_INFO ()
@@ -81,7 +89,12 @@ static ZEND_METHOD(MongoDB_BSON_Document, fromPHP);
8189#if !(PHP_VERSION_ID >= 80000 )
8290static ZEND_METHOD (MongoDB_BSON_Document , fromPHP ) ;
8391#endif
92+ #if PHP_VERSION_ID >= 80000
8493static ZEND_METHOD (MongoDB_BSON_Document , get ) ;
94+ #endif
95+ #if !(PHP_VERSION_ID >= 80000 )
96+ static ZEND_METHOD (MongoDB_BSON_Document , get ) ;
97+ #endif
8598static ZEND_METHOD (MongoDB_BSON_Document , getIterator ) ;
8699static ZEND_METHOD (MongoDB_BSON_Document , has ) ;
87100#if PHP_VERSION_ID >= 80000
@@ -110,7 +123,12 @@ static const zend_function_entry class_MongoDB_BSON_Document_methods[] = {
110123#if !(PHP_VERSION_ID >= 80000 )
111124 ZEND_ME (MongoDB_BSON_Document , fromPHP , arginfo_class_MongoDB_BSON_Document_fromPHP , ZEND_ACC_PUBLIC |ZEND_ACC_STATIC |ZEND_ACC_FINAL )
112125#endif
126+ #if PHP_VERSION_ID >= 80000
127+ ZEND_ME (MongoDB_BSON_Document , get , arginfo_class_MongoDB_BSON_Document_get , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
128+ #endif
129+ #if !(PHP_VERSION_ID >= 80000 )
113130 ZEND_ME (MongoDB_BSON_Document , get , arginfo_class_MongoDB_BSON_Document_get , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
131+ #endif
114132 ZEND_ME (MongoDB_BSON_Document , getIterator , arginfo_class_MongoDB_BSON_Document_getIterator , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
115133 ZEND_ME (MongoDB_BSON_Document , has , arginfo_class_MongoDB_BSON_Document_has , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
116134#if PHP_VERSION_ID >= 80000
0 commit comments