ZVAL_NULL(&tmp);
- php_json_decode(&tmp, json->val, json->len, JSON_POST_G(flags), PG(max_input_nesting_level));
+ php_json_decode_ex(&tmp, json->val, json->len, JSON_POST_G(flags), PG(max_input_nesting_level));
switch (Z_TYPE(tmp)) {
case IS_OBJECT:
{ NULL, 0, NULL, NULL }
};
+#ifndef TSRMLS_CC
+# define TSRMLS_CC
+#endif
sapi_register_post_entries(json_post_entries TSRMLS_CC);
ZEND_INIT_MODULE_GLOBALS(json_post, php_json_post_init_globals, NULL);