Skip to content

Commit 5268c90

Browse files
stofSammyK
authored andcommitted
Fix typo (#23)
1 parent 59c1c2b commit 5268c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Book/php7/internal_types/zvals/basic_structure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ Because of this we need to create a new zend_string using ``zend_string_init()``
331331
of the string on the heap. Because the zval "carries" its value, it will make sure to free this copy when the zval is
332332
destroyed, or at least to decrement its refcount. This also applies to any other "complex" value of the zval. E.g.
333333
if you set the ``zend_array*`` for an array, the zval will carry that later and release it when the zval is destroyed.
334-
By "releasing", we mean weither decrement the reference counter, or free the structure if reference counter falls to
334+
By "releasing", we mean either decrement the reference counter, or free the structure if reference counter falls to
335335
zero. When using primitive types like integers or doubles you obviously don't need to care about this, as they are
336336
always copied.
337337
All those memory management steps, such as allocation, free or reference counting; are detailed in the

0 commit comments

Comments
 (0)