From 10437787b0e8ede80976de4a1c22775fc1282f36 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 29 Nov 2017 11:36:57 +0100 Subject: Implement eval hooking It's not possible to hook the `eval` builtin like other functions.--- src/sp_disabled_functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_disabled_functions.h') diff --git a/src/sp_disabled_functions.h b/src/sp_disabled_functions.h index 260d430..e9180c9 100644 --- a/src/sp_disabled_functions.h +++ b/src/sp_disabled_functions.h @@ -2,6 +2,6 @@ #define __SP_DISABLE_FUNCTIONS_H int hook_disabled_functions(); -bool should_disable(zend_execute_data* function_name); +bool should_disable(zend_execute_data*, const char *, const char *, const char *); #endif /* __SP_DISABLE_FUNCTIONS_H */ -- cgit v1.3