projects
/
m6w6
/
ext-json_post
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
PHP compat 5-8
[m6w6/ext-json_post]
/
php_json_post.h
diff --git
a/php_json_post.h
b/php_json_post.h
index 2895b70256978f6ce3d1fde52a8578e5a991776b..9623a449a83498bed2b14d5082ab903a683b8fc4 100644
(file)
--- a/
php_json_post.h
+++ b/
php_json_post.h
@@
-41,6
+41,9
@@
ZEND_BEGIN_MODULE_GLOBALS(json_post)
zend_bool warning;
zend_bool exit;
} onerror;
+#if PHP_VERSION_ID < 70000
+ zend_function *json_last_error;
+#endif
ZEND_END_MODULE_GLOBALS(json_post)
ZEND_EXTERN_MODULE_GLOBALS(json_post);