We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b23758 commit 1cff6a0Copy full SHA for 1cff6a0
Book/php7/zvals/casts_and_operations.rst
@@ -88,7 +88,7 @@ exists::
88
zend_string *tmp_str;
89
zend_string *str = zval_get_tmp_string(val, &tmp_str);
90
// Do something with str.
91
- zend_tmp_string_release(str);
+ zend_tmp_string_release(tmp_str);
92
93
This API works the same way as ``zval_get_string()``, but avoids a refcount increment and decrement for the common
94
case where the value is already a string.
0 commit comments