mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

It looks like the config.w32 uses CHECK_HEADER_ADD_INCLUDE to add the include path to libxml into the search path. That doesn't happen in zend-test. To add to the Windows trouble, libxml is statically linked in, ext/libxml can only be built statically but ext/zend-test can be built both statically and dynamically. So the regression tests won't work in all possible configurations anyway on Windows. All of this is no problem on Linux because it just uses dynamic linking and pkg-config, without any magic. Signed-off-by: Ben Ramsey <ramsey@php.net>
185 lines
7.4 KiB
C
185 lines
7.4 KiB
C
/* This is a generated file, edit the .stub.php file instead.
|
|
* Stub hash: eb79a01021e58731bfbefab320569fbb0997276a */
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_test_array_return, 0, 0, IS_ARRAY, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_test_nullable_array_return, 0, 0, IS_ARRAY, 1)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_test_void_return, 0, 0, IS_VOID, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_test_deprecated, 0, 0, IS_VOID, 0)
|
|
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, arg, IS_MIXED, 0, "null")
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_create_unterminated_string, 0, 1, IS_STRING, 0)
|
|
ZEND_ARG_TYPE_INFO(0, str, IS_STRING, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_terminate_string, 0, 1, IS_VOID, 0)
|
|
ZEND_ARG_TYPE_INFO(1, str, IS_STRING, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_leak_variable, 0, 1, IS_VOID, 0)
|
|
ZEND_ARG_TYPE_INFO(0, variable, IS_MIXED, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_leak_bytes, 0, 0, IS_VOID, 0)
|
|
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bytes, IS_LONG, 0, "3")
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_zend_string_or_object, 0, 1, MAY_BE_OBJECT|MAY_BE_STRING)
|
|
ZEND_ARG_TYPE_MASK(0, param, MAY_BE_OBJECT|MAY_BE_STRING, NULL)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_zend_string_or_object_or_null, 0, 1, MAY_BE_OBJECT|MAY_BE_STRING|MAY_BE_NULL)
|
|
ZEND_ARG_TYPE_MASK(0, param, MAY_BE_OBJECT|MAY_BE_STRING|MAY_BE_NULL, NULL)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_zend_string_or_stdclass, 0, 1, stdClass, MAY_BE_STRING)
|
|
ZEND_ARG_INFO(0, param)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_zend_string_or_stdclass_or_null, 0, 1, stdClass, MAY_BE_STRING|MAY_BE_NULL)
|
|
ZEND_ARG_INFO(0, param)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_iterable, 0, 1, IS_VOID, 0)
|
|
ZEND_ARG_TYPE_INFO(0, arg1, IS_ITERABLE, 0)
|
|
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, arg2, IS_ITERABLE, 1, "null")
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_weakmap_attach, 0, 2, _IS_BOOL, 0)
|
|
ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
|
|
ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_weakmap_remove, 0, 1, _IS_BOOL, 0)
|
|
ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
#define arginfo_zend_weakmap_dump arginfo_zend_test_array_return
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_get_current_func_name, 0, 0, IS_STRING, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
#if defined(HAVE_LIBXML) && !defined(PHP_WIN32)
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_test_override_libxml_global_state, 0, 0, IS_VOID, 0)
|
|
ZEND_END_ARG_INFO()
|
|
#endif
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ZendTestNS2_ZendSubNS_namespaced_func, 0, 0, _IS_BOOL, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class__ZendTestClass_is_object, 0, 0, IS_LONG, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_INFO_EX(arginfo_class__ZendTestClass___toString, 0, 0, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class__ZendTestClass_returnsStatic, 0, 0, IS_STATIC, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
#define arginfo_class__ZendTestTrait_testMethod arginfo_ZendTestNS2_ZendSubNS_namespaced_func
|
|
|
|
#define arginfo_class_ZendTestNS_Foo_method arginfo_zend_test_void_return
|
|
|
|
#define arginfo_class_ZendTestNS2_Foo_method arginfo_zend_test_void_return
|
|
|
|
|
|
static ZEND_FUNCTION(zend_test_array_return);
|
|
static ZEND_FUNCTION(zend_test_nullable_array_return);
|
|
static ZEND_FUNCTION(zend_test_void_return);
|
|
static ZEND_FUNCTION(zend_test_deprecated);
|
|
static ZEND_FUNCTION(zend_create_unterminated_string);
|
|
static ZEND_FUNCTION(zend_terminate_string);
|
|
static ZEND_FUNCTION(zend_leak_variable);
|
|
static ZEND_FUNCTION(zend_leak_bytes);
|
|
static ZEND_FUNCTION(zend_string_or_object);
|
|
static ZEND_FUNCTION(zend_string_or_object_or_null);
|
|
static ZEND_FUNCTION(zend_string_or_stdclass);
|
|
static ZEND_FUNCTION(zend_string_or_stdclass_or_null);
|
|
static ZEND_FUNCTION(zend_iterable);
|
|
static ZEND_FUNCTION(zend_weakmap_attach);
|
|
static ZEND_FUNCTION(zend_weakmap_remove);
|
|
static ZEND_FUNCTION(zend_weakmap_dump);
|
|
static ZEND_FUNCTION(zend_get_current_func_name);
|
|
#if defined(HAVE_LIBXML) && !defined(PHP_WIN32)
|
|
static ZEND_FUNCTION(zend_test_override_libxml_global_state);
|
|
#endif
|
|
static ZEND_FUNCTION(namespaced_func);
|
|
static ZEND_METHOD(_ZendTestClass, is_object);
|
|
static ZEND_METHOD(_ZendTestClass, __toString);
|
|
static ZEND_METHOD(_ZendTestClass, returnsStatic);
|
|
static ZEND_METHOD(_ZendTestTrait, testMethod);
|
|
static ZEND_METHOD(ZendTestNS_Foo, method);
|
|
static ZEND_METHOD(ZendTestNS2_Foo, method);
|
|
|
|
|
|
static const zend_function_entry ext_functions[] = {
|
|
ZEND_FE(zend_test_array_return, arginfo_zend_test_array_return)
|
|
ZEND_FE(zend_test_nullable_array_return, arginfo_zend_test_nullable_array_return)
|
|
ZEND_FE(zend_test_void_return, arginfo_zend_test_void_return)
|
|
ZEND_DEP_FE(zend_test_deprecated, arginfo_zend_test_deprecated)
|
|
ZEND_FE(zend_create_unterminated_string, arginfo_zend_create_unterminated_string)
|
|
ZEND_FE(zend_terminate_string, arginfo_zend_terminate_string)
|
|
ZEND_FE(zend_leak_variable, arginfo_zend_leak_variable)
|
|
ZEND_FE(zend_leak_bytes, arginfo_zend_leak_bytes)
|
|
ZEND_FE(zend_string_or_object, arginfo_zend_string_or_object)
|
|
ZEND_FE(zend_string_or_object_or_null, arginfo_zend_string_or_object_or_null)
|
|
ZEND_FE(zend_string_or_stdclass, arginfo_zend_string_or_stdclass)
|
|
ZEND_FE(zend_string_or_stdclass_or_null, arginfo_zend_string_or_stdclass_or_null)
|
|
ZEND_FE(zend_iterable, arginfo_zend_iterable)
|
|
ZEND_FE(zend_weakmap_attach, arginfo_zend_weakmap_attach)
|
|
ZEND_FE(zend_weakmap_remove, arginfo_zend_weakmap_remove)
|
|
ZEND_FE(zend_weakmap_dump, arginfo_zend_weakmap_dump)
|
|
ZEND_FE(zend_get_current_func_name, arginfo_zend_get_current_func_name)
|
|
#if defined(HAVE_LIBXML) && !defined(PHP_WIN32)
|
|
ZEND_FE(zend_test_override_libxml_global_state, arginfo_zend_test_override_libxml_global_state)
|
|
#endif
|
|
ZEND_NS_FE("ZendTestNS2\\ZendSubNS", namespaced_func, arginfo_ZendTestNS2_ZendSubNS_namespaced_func)
|
|
ZEND_FE_END
|
|
};
|
|
|
|
|
|
static const zend_function_entry class__ZendTestInterface_methods[] = {
|
|
ZEND_FE_END
|
|
};
|
|
|
|
|
|
static const zend_function_entry class__ZendTestClass_methods[] = {
|
|
ZEND_ME(_ZendTestClass, is_object, arginfo_class__ZendTestClass_is_object, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
|
|
ZEND_ME(_ZendTestClass, __toString, arginfo_class__ZendTestClass___toString, ZEND_ACC_PUBLIC|ZEND_ACC_DEPRECATED)
|
|
ZEND_ME(_ZendTestClass, returnsStatic, arginfo_class__ZendTestClass_returnsStatic, ZEND_ACC_PUBLIC)
|
|
ZEND_FE_END
|
|
};
|
|
|
|
|
|
static const zend_function_entry class__ZendTestChildClass_methods[] = {
|
|
ZEND_FE_END
|
|
};
|
|
|
|
|
|
static const zend_function_entry class__ZendTestTrait_methods[] = {
|
|
ZEND_ME(_ZendTestTrait, testMethod, arginfo_class__ZendTestTrait_testMethod, ZEND_ACC_PUBLIC)
|
|
ZEND_FE_END
|
|
};
|
|
|
|
|
|
static const zend_function_entry class_ZendTestAttribute_methods[] = {
|
|
ZEND_FE_END
|
|
};
|
|
|
|
|
|
static const zend_function_entry class_ZendTestNS_Foo_methods[] = {
|
|
ZEND_ME(ZendTestNS_Foo, method, arginfo_class_ZendTestNS_Foo_method, ZEND_ACC_PUBLIC)
|
|
ZEND_FE_END
|
|
};
|
|
|
|
|
|
static const zend_function_entry class_ZendTestNS2_Foo_methods[] = {
|
|
ZEND_ME(ZendTestNS2_Foo, method, arginfo_class_ZendTestNS2_Foo_method, ZEND_ACC_PUBLIC)
|
|
ZEND_FE_END
|
|
};
|