diff --git a/ext/iconv/php_iconv.h b/ext/iconv/php_iconv.h index 726c36d036d..7bc1cce0df9 100644 --- a/ext/iconv/php_iconv.h +++ b/ext/iconv/php_iconv.h @@ -41,18 +41,6 @@ PHP_MINIT_FUNCTION(miconv); PHP_MSHUTDOWN_FUNCTION(miconv); PHP_MINFO_FUNCTION(miconv); -PHP_NAMED_FUNCTION(php_if_iconv); -PHP_FUNCTION(ob_iconv_handler); -PHP_FUNCTION(iconv_get_encoding); -PHP_FUNCTION(iconv_set_encoding); -PHP_FUNCTION(iconv_strlen); -PHP_FUNCTION(iconv_substr); -PHP_FUNCTION(iconv_strpos); -PHP_FUNCTION(iconv_strrpos); -PHP_FUNCTION(iconv_mime_encode); -PHP_FUNCTION(iconv_mime_decode); -PHP_FUNCTION(iconv_mime_decode_headers); - ZEND_BEGIN_MODULE_GLOBALS(iconv) char *input_encoding; char *internal_encoding; diff --git a/ext/odbc/php_odbc_includes.h b/ext/odbc/php_odbc_includes.h index f3e93a1c4b3..d1cbda0fba6 100644 --- a/ext/odbc/php_odbc_includes.h +++ b/ext/odbc/php_odbc_includes.h @@ -42,7 +42,6 @@ # include #endif /* end: #if defined(HAVE_SOLID) */ #undef HAVE_SQL_EXTENDED_FETCH -PHP_FUNCTION(solid_fetch_prev); #define SQLSMALLINT SWORD #define SQLUSMALLINT UWORD #ifndef SQL_SUCCEEDED diff --git a/ext/sockets/sendrecvmsg.h b/ext/sockets/sendrecvmsg.h index b12974e4bd2..1d651458adb 100644 --- a/ext/sockets/sendrecvmsg.h +++ b/ext/sockets/sendrecvmsg.h @@ -5,9 +5,6 @@ #include "conversions.h" /* for sockets.c */ -PHP_FUNCTION(socket_sendmsg); -PHP_FUNCTION(socket_recvmsg); -PHP_FUNCTION(socket_cmsg_space); void php_socket_sendrecvmsg_init(INIT_FUNC_ARGS); void php_socket_sendrecvmsg_shutdown(SHUTDOWN_FUNC_ARGS); diff --git a/ext/sodium/php_libsodium.h b/ext/sodium/php_libsodium.h index 543a5cb37cd..eee51630e29 100644 --- a/ext/sodium/php_libsodium.h +++ b/ext/sodium/php_libsodium.h @@ -33,108 +33,4 @@ PHP_RINIT_FUNCTION(sodium); PHP_RSHUTDOWN_FUNCTION(sodium); PHP_MINFO_FUNCTION(sodium); -PHP_FUNCTION(sodium_add); -PHP_FUNCTION(sodium_base642bin); -PHP_FUNCTION(sodium_bin2base64); -PHP_FUNCTION(sodium_bin2hex); -PHP_FUNCTION(sodium_compare); -PHP_FUNCTION(sodium_crypto_aead_aes256gcm_decrypt); -PHP_FUNCTION(sodium_crypto_aead_aes256gcm_encrypt); -PHP_FUNCTION(sodium_crypto_aead_aes256gcm_is_available); -PHP_FUNCTION(sodium_crypto_aead_aes256gcm_keygen); -PHP_FUNCTION(sodium_crypto_aead_chacha20poly1305_decrypt); -PHP_FUNCTION(sodium_crypto_aead_chacha20poly1305_encrypt); -PHP_FUNCTION(sodium_crypto_aead_chacha20poly1305_ietf_decrypt); -PHP_FUNCTION(sodium_crypto_aead_chacha20poly1305_ietf_encrypt); -PHP_FUNCTION(sodium_crypto_aead_chacha20poly1305_ietf_keygen); -PHP_FUNCTION(sodium_crypto_aead_chacha20poly1305_keygen); -PHP_FUNCTION(sodium_crypto_aead_xchacha20poly1305_ietf_decrypt); -PHP_FUNCTION(sodium_crypto_aead_xchacha20poly1305_ietf_encrypt); -PHP_FUNCTION(sodium_crypto_aead_xchacha20poly1305_ietf_keygen); -PHP_FUNCTION(sodium_crypto_auth); -PHP_FUNCTION(sodium_crypto_auth_keygen); -PHP_FUNCTION(sodium_crypto_auth_verify); -PHP_FUNCTION(sodium_crypto_box); -PHP_FUNCTION(sodium_crypto_box_keypair); -PHP_FUNCTION(sodium_crypto_box_keypair_from_secretkey_and_publickey); -PHP_FUNCTION(sodium_crypto_box_open); -PHP_FUNCTION(sodium_crypto_box_publickey); -PHP_FUNCTION(sodium_crypto_box_publickey_from_secretkey); -PHP_FUNCTION(sodium_crypto_box_seal); -PHP_FUNCTION(sodium_crypto_box_seal_open); -PHP_FUNCTION(sodium_crypto_box_secretkey); -PHP_FUNCTION(sodium_crypto_box_seed_keypair); -PHP_FUNCTION(sodium_crypto_core_ristretto255_add); -PHP_FUNCTION(sodium_crypto_core_ristretto255_from_hash); -PHP_FUNCTION(sodium_crypto_core_ristretto255_is_valid_point); -PHP_FUNCTION(sodium_crypto_core_ristretto255_random); -PHP_FUNCTION(sodium_crypto_core_ristretto255_scalar_add); -PHP_FUNCTION(sodium_crypto_core_ristretto255_scalar_complement); -PHP_FUNCTION(sodium_crypto_core_ristretto255_scalar_invert); -PHP_FUNCTION(sodium_crypto_core_ristretto255_scalar_mul); -PHP_FUNCTION(sodium_crypto_core_ristretto255_scalar_negate); -PHP_FUNCTION(sodium_crypto_core_ristretto255_scalar_random); -PHP_FUNCTION(sodium_crypto_core_ristretto255_scalar_reduce); -PHP_FUNCTION(sodium_crypto_core_ristretto255_scalar_sub); -PHP_FUNCTION(sodium_crypto_core_ristretto255_sub); -PHP_FUNCTION(sodium_crypto_generichash); -PHP_FUNCTION(sodium_crypto_generichash_final); -PHP_FUNCTION(sodium_crypto_generichash_init); -PHP_FUNCTION(sodium_crypto_generichash_keygen); -PHP_FUNCTION(sodium_crypto_generichash_update); -PHP_FUNCTION(sodium_crypto_kdf_derive_from_key); -PHP_FUNCTION(sodium_crypto_kdf_keygen); -PHP_FUNCTION(sodium_crypto_kx_client_session_keys); -PHP_FUNCTION(sodium_crypto_kx_keypair); -PHP_FUNCTION(sodium_crypto_kx_publickey); -PHP_FUNCTION(sodium_crypto_kx_secretkey); -PHP_FUNCTION(sodium_crypto_kx_seed_keypair); -PHP_FUNCTION(sodium_crypto_kx_server_session_keys); -PHP_FUNCTION(sodium_crypto_pwhash); -PHP_FUNCTION(sodium_crypto_pwhash_scryptsalsa208sha256); -PHP_FUNCTION(sodium_crypto_pwhash_scryptsalsa208sha256_str); -PHP_FUNCTION(sodium_crypto_pwhash_scryptsalsa208sha256_str_verify); -PHP_FUNCTION(sodium_crypto_pwhash_str); -PHP_FUNCTION(sodium_crypto_pwhash_str_needs_rehash); -PHP_FUNCTION(sodium_crypto_pwhash_str_verify); -PHP_FUNCTION(sodium_crypto_scalarmult); -PHP_FUNCTION(sodium_crypto_scalarmult_base); -PHP_FUNCTION(sodium_crypto_scalarmult_ristretto255); -PHP_FUNCTION(sodium_crypto_scalarmult_ristretto255_base); -PHP_FUNCTION(sodium_crypto_secretbox); -PHP_FUNCTION(sodium_crypto_secretbox_keygen); -PHP_FUNCTION(sodium_crypto_secretbox_open); -PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_keygen); -PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_init_push); -PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_push); -PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_init_pull); -PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_pull); -PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_rekey); -PHP_FUNCTION(sodium_crypto_shorthash); -PHP_FUNCTION(sodium_crypto_shorthash_keygen); -PHP_FUNCTION(sodium_crypto_sign); -PHP_FUNCTION(sodium_crypto_sign_detached); -PHP_FUNCTION(sodium_crypto_sign_ed25519_pk_to_curve25519); -PHP_FUNCTION(sodium_crypto_sign_ed25519_sk_to_curve25519); -PHP_FUNCTION(sodium_crypto_sign_keypair); -PHP_FUNCTION(sodium_crypto_sign_keypair_from_secretkey_and_publickey); -PHP_FUNCTION(sodium_crypto_sign_open); -PHP_FUNCTION(sodium_crypto_sign_publickey); -PHP_FUNCTION(sodium_crypto_sign_publickey_from_secretkey); -PHP_FUNCTION(sodium_crypto_sign_secretkey); -PHP_FUNCTION(sodium_crypto_sign_seed_keypair); -PHP_FUNCTION(sodium_crypto_sign_verify_detached); -PHP_FUNCTION(sodium_crypto_stream); -PHP_FUNCTION(sodium_crypto_stream_keygen); -PHP_FUNCTION(sodium_crypto_stream_xor); -PHP_FUNCTION(sodium_crypto_stream_xchacha20); -PHP_FUNCTION(sodium_crypto_stream_xchacha20_keygen); -PHP_FUNCTION(sodium_crypto_stream_xchacha20_xor); -PHP_FUNCTION(sodium_hex2bin); -PHP_FUNCTION(sodium_increment); -PHP_FUNCTION(sodium_memcmp); -PHP_FUNCTION(sodium_memzero); -PHP_FUNCTION(sodium_pad); -PHP_FUNCTION(sodium_unpad); - #endif /* PHP_LIBSODIUM_H */ diff --git a/ext/spl/spl_iterators.h b/ext/spl/spl_iterators.h index ee6339e1f24..1f42201b769 100644 --- a/ext/spl/spl_iterators.h +++ b/ext/spl/spl_iterators.h @@ -44,10 +44,6 @@ extern PHPAPI zend_class_entry *spl_ce_SeekableIterator; PHP_MINIT_FUNCTION(spl_iterators); -PHP_FUNCTION(iterator_apply); -PHP_FUNCTION(iterator_count); -PHP_FUNCTION(iterator_to_array); - typedef enum { DIT_Default = 0, DIT_FilterIterator = DIT_Default, diff --git a/ext/standard/php_dir.h b/ext/standard/php_dir.h index dd9c039e49e..1307d1ecafd 100644 --- a/ext/standard/php_dir.h +++ b/ext/standard/php_dir.h @@ -20,9 +20,6 @@ /* directory functions */ PHP_MINIT_FUNCTION(dir); PHP_RINIT_FUNCTION(dir); -PHP_FUNCTION(closedir); -PHP_FUNCTION(rewinddir); -PHP_FUNCTION(readdir); #define PHP_SCANDIR_SORT_ASCENDING 0 #define PHP_SCANDIR_SORT_DESCENDING 1 diff --git a/ext/tokenizer/php_tokenizer.h b/ext/tokenizer/php_tokenizer.h index b0e53a43bab..2777a35fbd6 100644 --- a/ext/tokenizer/php_tokenizer.h +++ b/ext/tokenizer/php_tokenizer.h @@ -34,7 +34,4 @@ char *get_token_type_name(int token_type); PHP_MINIT_FUNCTION(tokenizer); PHP_MINFO_FUNCTION(tokenizer); -PHP_FUNCTION(token_get_all); -PHP_FUNCTION(token_name); - #endif /* PHP_TOKENIZER_H */ diff --git a/main/php_output.h b/main/php_output.h index 4a8659e6a36..edd0a3e5074 100644 --- a/main/php_output.h +++ b/main/php_output.h @@ -241,22 +241,4 @@ PHPAPI int php_output_handler_alias_register(const char *handler_name, size_t ha END_EXTERN_C() - -PHP_FUNCTION(ob_start); -PHP_FUNCTION(ob_flush); -PHP_FUNCTION(ob_clean); -PHP_FUNCTION(ob_end_flush); -PHP_FUNCTION(ob_end_clean); -PHP_FUNCTION(ob_get_flush); -PHP_FUNCTION(ob_get_clean); -PHP_FUNCTION(ob_get_contents); -PHP_FUNCTION(ob_get_length); -PHP_FUNCTION(ob_get_level); -PHP_FUNCTION(ob_get_status); -PHP_FUNCTION(ob_implicit_flush); -PHP_FUNCTION(ob_list_handlers); - -PHP_FUNCTION(output_add_rewrite_var); -PHP_FUNCTION(output_reset_rewrite_vars); - #endif diff --git a/sapi/litespeed/lsapi_main.c b/sapi/litespeed/lsapi_main.c index 2b3d83ad4be..e034a3fdffa 100644 --- a/sapi/litespeed/lsapi_main.c +++ b/sapi/litespeed/lsapi_main.c @@ -1602,14 +1602,8 @@ int main( int argc, char * argv[] ) return ret; } - /* LiteSpeed PHP module starts here */ -PHP_FUNCTION(litespeed_request_headers); -PHP_FUNCTION(litespeed_response_headers); -PHP_FUNCTION(apache_get_modules); -PHP_FUNCTION(litespeed_finish_request); - PHP_MINFO_FUNCTION(litespeed); static PHP_MINIT_FUNCTION(litespeed)