1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: fa6eadc4164fb7b0d9f7d873d47205bbe5a46cd8 */
3
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_dl_test_test1, 0, 0, IS_VOID, 0)
5 ZEND_END_ARG_INFO()
6
7 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_dl_test_test2, 0, 0, IS_STRING, 0)
8 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, str, IS_STRING, 0, "\"\"")
9 ZEND_END_ARG_INFO()
10
11 #define arginfo_class_DlTest_test arginfo_dl_test_test2
12
13 ZEND_FUNCTION(dl_test_test1);
14 ZEND_FUNCTION(dl_test_test2);
15 ZEND_METHOD(DlTest, test);
16
17 static const zend_function_entry ext_functions[] = {
18 ZEND_FE(dl_test_test1, arginfo_dl_test_test1)
19 ZEND_FE(dl_test_test2, arginfo_dl_test_test2)
20 ZEND_FE_END
21 };
22
23 static const zend_function_entry class_DlTest_methods[] = {
24 ZEND_ME(DlTest, test, arginfo_class_DlTest_test, ZEND_ACC_PUBLIC)
25 ZEND_FE_END
26 };
27
register_dl_test_symbols(int module_number)28 static void register_dl_test_symbols(int module_number)
29 {
30 REGISTER_LONG_CONSTANT("DL_TEST_CONST", 42, CONST_PERSISTENT);
31 }
32
register_class_DlTest(void)33 static zend_class_entry *register_class_DlTest(void)
34 {
35 zend_class_entry ce, *class_entry;
36
37 INIT_CLASS_ENTRY(ce, "DlTest", class_DlTest_methods);
38 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
39
40 return class_entry;
41 }
42