File tree 1 file changed +3
-3
lines changed
docs/source/core/data-structures
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,9 @@ intimidating at first. We'll go over it step by step.
115
115
``zval.value `` reserves space for the actual variable data, as discussed above.
116
116
117
117
``zval.u1 `` stores the variable type, the given ``IS_* `` constant, along with some other flags. It's
118
- definition looks a bit complicated. You can think of the entire field as a 4 bit integer, split into
119
- 3 parts. ``v.type `` stores the actual variable type, ``v.type_flags `` is used for some ` reference
120
- counting <todo> `__ flags, and ``v.u.extra `` is pretty much unused.
118
+ definition looks a bit complicated. You can think of the entire field as a 4 byte integer, split
119
+ into 3 parts. ``v.type `` stores the actual variable type, ``v.type_flags `` is used for some
120
+ ` reference counting <todo >`__ flags, and ``v.u.extra `` is pretty much unused.
121
121
122
122
``zval.u2 `` defines some more storage for various contexts that is often unoccupied. It's there
123
123
because the memory would otherwise be wasted due to padding, so we may as well make use of it. We'll
You can’t perform that action at this time.
0 commit comments