|
1 | 1 | /* This is a generated file, edit the .stub.php file instead. |
2 | | - * Stub hash: 05ebde17137c559e891362fba6524fad1e0a2dfe */ |
| 2 | + * Stub hash: fcc86e17663887b089b79144e10ab3ca50ce3faa */ |
3 | 3 |
|
4 | | -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_frankenphp_handle_request, 0, 1, |
5 | | - _IS_BOOL, 0) |
6 | | -ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0) |
| 4 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_frankenphp_handle_request, 0, 1, _IS_BOOL, 0) |
| 5 | + ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0) |
7 | 6 | ZEND_END_ARG_INFO() |
8 | 7 |
|
9 | 8 | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_headers_send, 0, 0, IS_LONG, 0) |
10 | | -ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, status, IS_LONG, 0, "200") |
| 9 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, status, IS_LONG, 0, "200") |
11 | 10 | ZEND_END_ARG_INFO() |
12 | 11 |
|
13 | | -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_frankenphp_finish_request, 0, 0, |
14 | | - _IS_BOOL, 0) |
| 12 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_frankenphp_finish_request, 0, 0, _IS_BOOL, 0) |
15 | 13 | ZEND_END_ARG_INFO() |
16 | 14 |
|
17 | 15 | #define arginfo_fastcgi_finish_request arginfo_frankenphp_finish_request |
18 | 16 |
|
19 | | -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_frankenphp_request_headers, 0, |
20 | | - 0, IS_ARRAY, 0) |
| 17 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_frankenphp_request_headers, 0, 0, IS_ARRAY, 0) |
21 | 18 | ZEND_END_ARG_INFO() |
22 | 19 |
|
23 | 20 | #define arginfo_apache_request_headers arginfo_frankenphp_request_headers |
24 | 21 |
|
25 | 22 | #define arginfo_getallheaders arginfo_frankenphp_request_headers |
26 | 23 |
|
27 | | -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_frankenphp_response_headers, 0, |
28 | | - 0, MAY_BE_ARRAY | MAY_BE_BOOL) |
| 24 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_frankenphp_response_headers, 0, 0, MAY_BE_ARRAY|MAY_BE_BOOL) |
29 | 25 | ZEND_END_ARG_INFO() |
30 | 26 |
|
31 | 27 | #define arginfo_apache_response_headers arginfo_frankenphp_response_headers |
32 | 28 |
|
| 29 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mercure_publish, 0, 1, IS_STRING, 0) |
| 30 | + ZEND_ARG_INFO(0, topics) |
| 31 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, data, IS_STRING, 0, "\'\'") |
| 32 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, private, _IS_BOOL, 0, "false") |
| 33 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, id, IS_STRING, 1, "null") |
| 34 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_STRING, 1, "null") |
| 35 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, retry, IS_LONG, 1, "null") |
| 36 | +ZEND_END_ARG_INFO() |
| 37 | + |
33 | 38 | ZEND_FUNCTION(frankenphp_handle_request); |
34 | 39 | ZEND_FUNCTION(headers_send); |
35 | 40 | ZEND_FUNCTION(frankenphp_finish_request); |
36 | 41 | ZEND_FUNCTION(frankenphp_request_headers); |
37 | 42 | ZEND_FUNCTION(frankenphp_response_headers); |
| 43 | +ZEND_FUNCTION(mercure_publish); |
38 | 44 |
|
39 | | -// clang-format off |
40 | 45 | static const zend_function_entry ext_functions[] = { |
41 | | - ZEND_FE(frankenphp_handle_request, arginfo_frankenphp_handle_request) |
42 | | - ZEND_FE(headers_send, arginfo_headers_send) |
43 | | - ZEND_FE(frankenphp_finish_request, arginfo_frankenphp_finish_request) |
44 | | - ZEND_FALIAS(fastcgi_finish_request, frankenphp_finish_request, arginfo_fastcgi_finish_request) |
45 | | - ZEND_FE(frankenphp_request_headers, arginfo_frankenphp_request_headers) |
46 | | - ZEND_FALIAS(apache_request_headers, frankenphp_request_headers, arginfo_apache_request_headers) |
47 | | - ZEND_FALIAS(getallheaders, frankenphp_request_headers, arginfo_getallheaders) |
48 | | - ZEND_FE(frankenphp_response_headers, arginfo_frankenphp_response_headers) |
49 | | - ZEND_FALIAS(apache_response_headers, frankenphp_response_headers, arginfo_apache_response_headers) |
50 | | - ZEND_FE_END |
| 46 | + ZEND_FE(frankenphp_handle_request, arginfo_frankenphp_handle_request) |
| 47 | + ZEND_FE(headers_send, arginfo_headers_send) |
| 48 | + ZEND_FE(frankenphp_finish_request, arginfo_frankenphp_finish_request) |
| 49 | + ZEND_RAW_FENTRY("fastcgi_finish_request", zif_frankenphp_finish_request, arginfo_fastcgi_finish_request, 0, NULL, NULL) |
| 50 | + ZEND_FE(frankenphp_request_headers, arginfo_frankenphp_request_headers) |
| 51 | + ZEND_RAW_FENTRY("apache_request_headers", zif_frankenphp_request_headers, arginfo_apache_request_headers, 0, NULL, NULL) |
| 52 | + ZEND_RAW_FENTRY("getallheaders", zif_frankenphp_request_headers, arginfo_getallheaders, 0, NULL, NULL) |
| 53 | + ZEND_FE(frankenphp_response_headers, arginfo_frankenphp_response_headers) |
| 54 | + ZEND_RAW_FENTRY("apache_response_headers", zif_frankenphp_response_headers, arginfo_apache_response_headers, 0, NULL, NULL) |
| 55 | + ZEND_FE(mercure_publish, arginfo_mercure_publish) |
| 56 | + ZEND_FE_END |
51 | 57 | }; |
52 | | -// clang-format on |
|
0 commit comments