static zend_always_inline int __case_compare_function ( zval * result, zval * op1, zval * op2, int identical TSRMLS_DC ) { switch ( TYPE_PAIR ( Z_TYPE_P ( op1 ), Z_TYPE_P ( op2 ) ) ) { case TYPE_PAIR ( IS_STRING, IS_STRING ) : Z_LVAL_P ( result ) = zend_binary_zval_strcasecmp ( op1, op2 ) ; ZVAL_LONG ( result, ZEND_NORMALIZE_BOOL ( Z_LVAL_P ( result ) ) ) ; return ( SUCCESS ) ; default : return ( ( identical ) ? is_equal_function ( result, op1, op2 TSRMLS_CC ) : is_identical_function ( result, op1, op2 TSRMLS_CC ) ) ; } }
value(bool v) { ::zval::type = IS_BOOL; ::zval::value.lval = ZEND_NORMALIZE_BOOL(v); initialize(); }