On Sun, Nov 29, 2020 at 11:20 PM Michael Voříšek - ČVUT FEL <
voris...@fel.cvut.cz> wrote:
> How can a php function can be checked from extension if that function is
> disabled or not?
>
> In php7.x, I used:
>
> #ifdef HAVE_CONFIG_H
> #include "config.h"
> #endif
>
> #include
> #include "php.h"
>
How can a php function can be checked from extension if that function is
disabled or not?
In php7.x, I used:
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include
#include "php.h"
bool is_php_function_disabled(const char *func_name) {
zend_internal_function *func;
if ((func = zend_h