better way to access json globals on PHP 5
[m6w6/ext-json_post] / php_json_post.h
index 9623a449a83498bed2b14d5082ab903a683b8fc4..d94a14c587622927843bdbaad2950bb8055457de 100644 (file)
@@ -42,7 +42,7 @@ ZEND_BEGIN_MODULE_GLOBALS(json_post)
                zend_bool exit;
        } onerror;
 #if PHP_VERSION_ID < 70000
-       zend_function *json_last_error;
+       zend_module_entry *json_module;
 #endif
 ZEND_END_MODULE_GLOBALS(json_post)