diff --git a/zend/value.cpp b/zend/value.cpp index bfaf8b57..1bcec286 100644 --- a/zend/value.cpp +++ b/zend/value.cpp @@ -292,7 +292,7 @@ Value::~Value() Php::Zval Value::detach(bool keeprefcount) { // the return value - Php::Zval result; + Php::Zval result {}; // copy the value ZVAL_COPY_VALUE(result, _val);