Closed Jan-E closed 6 years ago
merged, thanks
diff --git a/php_taint.h b/php_taint.h
index 000902c..5b30434 100644
--- a/php_taint.h
+++ b/php_taint.h
@@ -105,7 +105,11 @@ PHP_FUNCTION(taint_dirname);
PHP_FUNCTION(taint_basename);
PHP_FUNCTION(taint_pathinfo);
+#if PHP_VERSION_ID >= 70300
+typedef zif_handler php_func;
+#else
typedef void (*php_func)(INTERNAL_FUNCTION_PARAMETERS);
+#endif
ZEND_BEGIN_MODULE_GLOBALS(taint)
zend_bool enable;
works OK
See https://github.com/laruence/taint/commit/9debfe9682d22e172906cd2e7754a8380bf13453#commitcomment-29510740