diff options
Diffstat (limited to 'ext/ffi/ffi_arginfo.h')
-rw-r--r-- | ext/ffi/ffi_arginfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ffi/ffi_arginfo.h b/ext/ffi/ffi_arginfo.h index bcfce179d5..6d91fc4a9b 100644 --- a/ext/ffi/ffi_arginfo.h +++ b/ext/ffi/ffi_arginfo.h @@ -15,8 +15,8 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_FFI_new, 0, 1, FFI\\CData, 1) ZEND_ARG_INFO(0, type) - ZEND_ARG_TYPE_INFO(0, owned, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, persistent, _IS_BOOL, 0) + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, owned, _IS_BOOL, 0, "true") + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, persistent, _IS_BOOL, 0, "false") ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_FFI_free, 0, 1, IS_VOID, 0) |