Home
last modified time | relevance | path

Searched refs:type_code (Results 1 – 3 of 3) sorted by relevance

/PHP-7.4/Zend/
H A Dzend_execute.c3155 zend_uchar type_code; in i_zend_verify_type_assignable_zval() local
3172 type_code = ZEND_TYPE_CODE(type); in i_zend_verify_type_assignable_zval()
3173 if (type_code == zv_type || in i_zend_verify_type_assignable_zval()
3174 (type_code == _IS_BOOL && (zv_type == IS_FALSE || zv_type == IS_TRUE))) { in i_zend_verify_type_assignable_zval()
3178 if (type_code == IS_ITERABLE) { in i_zend_verify_type_assignable_zval()
3184 if (type_code == IS_DOUBLE && zv_type == IS_LONG) { in i_zend_verify_type_assignable_zval()
3191 if (type_code == IS_ARRAY || type_code == IS_OBJECT) { in i_zend_verify_type_assignable_zval()
H A Dzend_compile.c5313 zend_uchar type_code = zend_lookup_builtin_type_by_name(class_name); in zend_compile_typename() local
5315 if (type_code != 0) { in zend_compile_typename()
5321 type = ZEND_TYPE_ENCODE(type_code, allow_null); in zend_compile_typename()
/PHP-7.4/ext/opcache/Optimizer/
H A Dzend_inference.c2268 static uint32_t zend_convert_type_code_to_may_be(zend_uchar type_code) { in zend_convert_type_code_to_may_be() argument
2269 switch (type_code) { in zend_convert_type_code_to_may_be()
2281 ZEND_ASSERT(type_code < IS_REFERENCE); in zend_convert_type_code_to_may_be()
2282 return 1 << type_code; in zend_convert_type_code_to_may_be()

Completed in 46 milliseconds