diff options
| -rw-r--r-- | Zend/zend.h | 1 | ||||
| -rw-r--r-- | Zend/zend_variables.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index f4b6ae6e94..c848e9395d 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -605,6 +605,7 @@ END_EXTERN_C() #define ZEND_MAX_RESERVED_RESOURCES 4 +#include "zend_variables.h" #endif /* ZEND_H */ diff --git a/Zend/zend_variables.h b/Zend/zend_variables.h index 8cdf76e639..a30ba91fe9 100644 --- a/Zend/zend_variables.h +++ b/Zend/zend_variables.h @@ -40,9 +40,9 @@ ZEND_API int _zval_copy_ctor_func(zval *zvalue ZEND_FILE_LINE_DC); static inline int _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC) { if (zvalue->type <= IS_BOOL) { - return; + return SUCCESS; } - _zval_copy_ctor_func(zvalue ZEND_FILE_LINE_CC); + return _zval_copy_ctor_func(zvalue ZEND_FILE_LINE_CC); } |
