@@ -37,9 +37,6 @@ BEGIN_EXTERN_C()
3737#endif
3838#include " stubs/php_swoole_ex_arginfo.h"
3939#include " stubs/php_swoole_tracer_arginfo.h"
40- #ifdef SW_STDEXT
41- #include " stubs/php_swoole_stdext_arginfo.h"
42- #endif
4340#ifdef SW_HAVE_SSH2LIB
4441#include " stubs/php_swoole_ssh2_arginfo.h"
4542#endif
@@ -128,10 +125,6 @@ static PHP_FUNCTION(swoole_internal_call_user_shutdown_begin);
128125static PHP_FUNCTION (swoole_implicit_fn);
129126SW_EXTERN_C_END
130127
131- #ifdef SW_STDEXT
132- #include " php_swoole_stdext.h"
133- #endif
134-
135128#ifdef SW_HAVE_SSH2LIB
136129#include " php_swoole_ssh2_def.h"
137130#endif
@@ -191,32 +184,6 @@ const zend_function_entry swoole_functions[] = {
191184 ZEND_FE (swoole_name_resolver_lookup, arginfo_swoole_name_resolver_lookup)
192185 ZEND_FE (swoole_name_resolver_add, arginfo_swoole_name_resolver_add)
193186 ZEND_FE (swoole_name_resolver_remove, arginfo_swoole_name_resolver_remove)
194- // for stdext
195- #ifdef SW_STDEXT
196- ZEND_FE (swoole_call_array_method, arginfo_swoole_call_array_method)
197- ZEND_FE (swoole_call_string_method, arginfo_swoole_call_string_method)
198- ZEND_FE (swoole_call_stream_method, arginfo_swoole_call_stream_method)
199- ZEND_FE (swoole_array_search, arginfo_swoole_array_search)
200- ZEND_FE (swoole_array_contains, arginfo_swoole_array_contains)
201- ZEND_FE (swoole_array_join, arginfo_swoole_array_join)
202- ZEND_FE (swoole_array_key_exists, arginfo_swoole_array_key_exists)
203- ZEND_FE (swoole_array_map, arginfo_swoole_array_map)
204- ZEND_FE (swoole_str_split, arginfo_swoole_str_split)
205- ZEND_FE (swoole_parse_str, arginfo_swoole_parse_str)
206- ZEND_FE (swoole_hash, arginfo_swoole_hash)
207- ZEND_FE (swoole_typed_array, arginfo_swoole_typed_array)
208- ZEND_FE (swoole_array_is_typed, arginfo_swoole_array_is_typed)
209- ZEND_FE (swoole_str_is_empty, arginfo_swoole_str_is_empty)
210- ZEND_FE (swoole_array_is_empty, arginfo_swoole_array_is_empty)
211- ZEND_FE (swoole_str_match, arginfo_swoole_str_match)
212- ZEND_FE (swoole_str_match_all, arginfo_swoole_str_match_all)
213- ZEND_FE (swoole_str_json_decode, arginfo_swoole_str_json_decode)
214- ZEND_FE (swoole_str_json_decode_to_object, arginfo_swoole_str_json_decode_to_object)
215- ZEND_FE (swoole_str_replace, arginfo_swoole_str_replace)
216- ZEND_FE (swoole_str_ireplace, arginfo_swoole_str_ireplace)
217- ZEND_FE (swoole_array_replace_str, arginfo_swoole_array_replace_str)
218- ZEND_FE (swoole_array_ireplace_str, arginfo_swoole_array_ireplace_str)
219- #endif
220187#ifdef SW_HAVE_SSH2LIB
221188 ZEND_FE (ssh2_connect, arginfo_ssh2_connect)
222189 ZEND_FE (ssh2_disconnect, arginfo_ssh2_disconnect)
@@ -1022,10 +989,6 @@ PHP_MINIT_FUNCTION(swoole) {
1022989 CG (function_table), " swoole_coroutine_create" , CG (function_table), " go" , arginfo_swoole_coroutine_create);
1023990 SW_FUNCTION_ALIAS (
1024991 CG (function_table), " swoole_coroutine_defer" , CG (function_table), " defer" , arginfo_swoole_coroutine_defer);
1025- #ifdef SW_STDEXT
1026- SW_FUNCTION_ALIAS (
1027- CG (function_table), " swoole_typed_array" , CG (function_table), " typed_array" , arginfo_swoole_typed_array);
1028- #endif
1029992 }
1030993
1031994 swoole_init ();
@@ -1114,9 +1077,6 @@ PHP_MINIT_FUNCTION(swoole) {
11141077 php_swoole_thread_queue_minit (module_number);
11151078 php_swoole_thread_map_minit (module_number);
11161079 php_swoole_thread_arraylist_minit (module_number);
1117- #endif
1118- #ifdef SW_STDEXT
1119- php_swoole_stdext_minit (module_number);
11201080#endif
11211081 php_swoole_tracer_minit (module_number);
11221082
0 commit comments