diff options
| author | Ben Fuhrmannek | 2021-02-16 11:16:59 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-02-16 11:16:59 +0100 |
| commit | 5484bcb5eb2714e7438927e2566c86a74d7c51af (patch) | |
| tree | b78326d2999397be4c08e06b23209981f82a4ea9 /src/sp_disabled_functions.h | |
| parent | 7ac1e3866ef4f146c6c93a5ca13b9aebb14e936a (diff) | |
| parent | cecfdd808da67be908dbe7144cc8c74dfb3f855e (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/sp_disabled_functions.h')
| -rw-r--r-- | src/sp_disabled_functions.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sp_disabled_functions.h b/src/sp_disabled_functions.h index 3999aec..fd9b9b9 100644 --- a/src/sp_disabled_functions.h +++ b/src/sp_disabled_functions.h | |||
| @@ -3,8 +3,12 @@ | |||
| 3 | 3 | ||
| 4 | extern zend_write_func_t zend_write_default; | 4 | extern zend_write_func_t zend_write_default; |
| 5 | 5 | ||
| 6 | int hook_disabled_functions(); | 6 | #if PHP_VERSION_ID >= 80000 |
| 7 | size_t hook_echo(const char *, size_t); | ||
| 8 | #else | ||
| 7 | int hook_echo(const char *, size_t); | 9 | int hook_echo(const char *, size_t); |
| 10 | #endif | ||
| 11 | int hook_disabled_functions(void); | ||
| 8 | void should_disable_ht(zend_execute_data *, const char *, const zend_string *, | 12 | void should_disable_ht(zend_execute_data *, const char *, const zend_string *, |
| 9 | const char *, const sp_list_node *, const HashTable *); | 13 | const char *, const sp_list_node *, const HashTable *); |
| 10 | void should_drop_on_ret_ht(const zval *, const char *, | 14 | void should_drop_on_ret_ht(const zval *, const char *, |
