From c732ab400af92c54eee47c487a56009f1d79dd5d Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 16 Mar 2021 20:31:36 +0300 Subject: Change Zend Stream API to use zend_string* instead of char*. This allows to eliminate re-calculation of string lenght and hash value. See the detailed list of changes in UPGRADING.INTERNALS. --- main/php_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php_main.h') diff --git a/main/php_main.h b/main/php_main.h index ee27209fbe..1beedd853e 100644 --- a/main/php_main.h +++ b/main/php_main.h @@ -40,7 +40,7 @@ PHPAPI void php_handle_aborted_connection(void); PHPAPI int php_handle_auth_data(const char *auth); PHPAPI void php_html_puts(const char *str, size_t siz); -PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, int mode); +PHPAPI int php_stream_open_for_zend_ex(zend_file_handle *handle, int mode); /* environment module */ extern int php_init_environ(void); -- cgit v1.2.1