|
22 | 22 | #include "php_ini.h"
|
23 | 23 | #include "ext/standard/info.h"
|
24 | 24 | #include "php_test.h"
|
| 25 | +#include "test_arginfo.h" |
25 | 26 |
|
26 | 27 | static zend_class_entry *zend_test_interface;
|
27 | 28 | static zend_class_entry *zend_test_class;
|
28 | 29 | static zend_class_entry *zend_test_child_class;
|
29 | 30 | static zend_class_entry *zend_test_trait;
|
30 | 31 | static zend_object_handlers zend_test_class_handlers;
|
31 | 32 |
|
32 |
| -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(arginfo_zend_test_array_return, IS_ARRAY, 0) |
33 |
| -ZEND_END_ARG_INFO() |
34 |
| - |
35 |
| -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(arginfo_zend_test_nullable_array_return, IS_ARRAY, 1) |
36 |
| -ZEND_END_ARG_INFO() |
37 |
| - |
38 |
| -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(arginfo_zend_test_void_return, IS_VOID, 0) |
39 |
| -ZEND_END_ARG_INFO() |
40 |
| - |
41 |
| -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(arginfo_zend_test_deprecated, IS_VOID, 0) |
42 |
| - ZEND_ARG_INFO(0, arg1) |
43 |
| -ZEND_END_ARG_INFO() |
44 |
| - |
45 |
| -ZEND_BEGIN_ARG_INFO_EX(arginfo_zend_terminate_string, 0, 0, 1) |
46 |
| - ZEND_ARG_INFO(1, str) |
47 |
| -ZEND_END_ARG_INFO() |
48 |
| - |
49 |
| -ZEND_BEGIN_ARG_INFO_EX(arginfo_zend_leak_variable, 0, 0, 1) |
50 |
| - ZEND_ARG_INFO(0, variable) |
51 |
| -ZEND_END_ARG_INFO() |
52 |
| - |
53 | 33 | ZEND_FUNCTION(zend_test_func)
|
54 | 34 | {
|
55 | 35 | RETVAL_STR_COPY(EX(func)->common.function_name);
|
@@ -336,9 +316,9 @@ static const zend_function_entry zend_test_functions[] = {
|
336 | 316 | ZEND_FE(zend_test_nullable_array_return, arginfo_zend_test_nullable_array_return)
|
337 | 317 | ZEND_FE(zend_test_void_return, arginfo_zend_test_void_return)
|
338 | 318 | ZEND_DEP_FE(zend_test_deprecated, arginfo_zend_test_deprecated)
|
339 |
| - ZEND_FE(zend_create_unterminated_string, NULL) |
| 319 | + ZEND_FE(zend_create_unterminated_string, arginfo_zend_create_unterminated_string) |
340 | 320 | ZEND_FE(zend_terminate_string, arginfo_zend_terminate_string)
|
341 |
| - ZEND_FE(zend_leak_bytes, NULL) |
| 321 | + ZEND_FE(zend_leak_bytes, arginfo_zend_leak_bytes) |
342 | 322 | ZEND_FE(zend_leak_variable, arginfo_zend_leak_variable)
|
343 | 323 | ZEND_FE_END
|
344 | 324 | };
|
|
0 commit comments