File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Book/php7/internal_types/strings Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ This also brings us to the next topic: refcount management. Rather than using ra
148
148
return zend_string_copy(str);
149
149
150
150
Unlike ``GC_ADDREF() ``, the ``zend_string_addref() `` function will handle immutable strings properly. However, the
151
- function that is used most often by far is ``zend_string_copy() ``. This function also only increments the refcount,
151
+ function that is used most often by far is ``zend_string_copy() ``. This function not only increments the refcount,
152
152
but also returns the original string. This makes code more readable in practice.
153
153
154
154
While a ``zend_string_dup() `` function that performs an actual copy of the string (rather than only a refcount
You can’t perform that action at this time.
0 commit comments