diff options
Diffstat (limited to 'ext/json/json_arginfo.h')
-rw-r--r-- | ext/json/json_arginfo.h | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/ext/json/json_arginfo.h b/ext/json/json_arginfo.h index c4b20d7013..9cf5fad6ff 100644 --- a/ext/json/json_arginfo.h +++ b/ext/json/json_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 2d1e6c422221ec7efbbd540ee777a5ce2c639943 */ + * Stub hash: bb9d306951484ce32054dff31dde37638f2841dc */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_json_encode, 0, 1, MAY_BE_STRING|MAY_BE_FALSE) ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0) @@ -43,3 +43,29 @@ static const zend_function_entry class_JsonSerializable_methods[] = { ZEND_ABSTRACT_ME_WITH_FLAGS(JsonSerializable, jsonSerialize, arginfo_class_JsonSerializable_jsonSerialize, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT) ZEND_FE_END }; + + +static const zend_function_entry class_JsonException_methods[] = { + ZEND_FE_END +}; + +zend_class_entry *register_class_JsonSerializable() +{ + zend_class_entry ce, *class_entry; + + INIT_CLASS_ENTRY(ce, "JsonSerializable", class_JsonSerializable_methods); + class_entry = zend_register_internal_interface(&ce); + + return class_entry; +} + +zend_class_entry *register_class_JsonException(zend_class_entry *class_entry_Exception) +{ + zend_class_entry ce, *class_entry; + + INIT_CLASS_ENTRY(ce, "JsonException", class_JsonException_methods); + class_entry = zend_register_internal_class_ex(&ce, class_entry_Exception); + + return class_entry; +} + |