Skip to content

Commit ad7a78b

Browse files
committed
Added comment
1 parent 0276ea5 commit ad7a78b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zend/zend_object_handlers.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,6 +1139,9 @@ ZEND_API zend_function *zend_get_call_trampoline_func(zend_class_entry *ce, zend
11391139
size_t mname_len;
11401140
zend_op_array *func;
11411141
zend_function *fbc = is_static ? ce->__callstatic : ce->__call;
1142+
/* We use non-NULL value to avoid useless run_time_cache allocation.
1143+
* The low bit must be zero, to not be interpreted as a MAP_PTR offset.
1144+
*/
11421145
static const void *dummy = (void*)(intptr_t)2;
11431146

11441147
ZEND_ASSERT(fbc);

0 commit comments

Comments
 (0)