diff options
Diffstat (limited to 'ext/json/json_arginfo.h')
-rw-r--r-- | ext/json/json_arginfo.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/ext/json/json_arginfo.h b/ext/json/json_arginfo.h index ded4bf663e..ee8954c3ed 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: 200044f4196cd8efd1ec9a2e93d4bbb63618b3c9 */ + * Stub hash: 6dcef13e46c3dfc2546d3ccc38da07e6c009bbe5 */ 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) @@ -48,3 +48,23 @@ static const zend_function_entry class_JsonSerializable_methods[] = { static const zend_function_entry class_JsonException_methods[] = { ZEND_FE_END }; + +static zend_class_entry *register_class_JsonSerializable(void) +{ + zend_class_entry ce, *class_entry; + + INIT_CLASS_ENTRY(ce, "JsonSerializable", class_JsonSerializable_methods); + class_entry = zend_register_internal_interface(&ce); + + return class_entry; +} + +static 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; +} |