summaryrefslogtreecommitdiff
path: root/include/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/value.h')
-rw-r--r--include/value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/value.h b/include/value.h
index 807ad42..532d0c1 100644
--- a/include/value.h
+++ b/include/value.h
@@ -1149,9 +1149,10 @@ protected:
* return a zval pointer, that would otherwise be deallocated the moment
* the function returns.
*
+ * @param keeprefcount Keep the same refcount
* @return zval
*/
- struct _zval_struct *detach();
+ struct _zval_struct *detach(bool keeprefcount = true);
/**
* Set a certain property without running any checks (you must already know