Home
last modified time | relevance | path

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

/PHP-7.3/Zend/
H A Dzend_compile.c4936 zval *cond_zv; in determine_switch_jumptable_type() local
4948 cond_zv = zend_ast_get_zval(case_ast->child[0]); in determine_switch_jumptable_type()
4949 if (Z_TYPE_P(cond_zv) != IS_LONG && Z_TYPE_P(cond_zv) != IS_STRING) { in determine_switch_jumptable_type()
4955 common_type = Z_TYPE_P(cond_zv); in determine_switch_jumptable_type()
4956 } else if (common_type != Z_TYPE_P(cond_zv)) { in determine_switch_jumptable_type()
4961 if (Z_TYPE_P(cond_zv) == IS_STRING in determine_switch_jumptable_type()
4962 && is_numeric_string(Z_STRVAL_P(cond_zv), Z_STRLEN_P(cond_zv), NULL, NULL, 0)) { in determine_switch_jumptable_type()
5073 zval *cond_zv = zend_ast_get_zval(cond_ast); in zend_compile_switch() local
5077 ZEND_ASSERT(Z_TYPE_P(cond_zv) == jumptable_type); in zend_compile_switch()
5078 if (Z_TYPE_P(cond_zv) == IS_LONG) { in zend_compile_switch()
[all …]

Completed in 37 milliseconds