Skip to content

Commit 401694c

Browse files
committed
fix inverted expect
1 parent 710eb4c commit 401694c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Zend/zend_exceptions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ static void build_trace_args(zval *arg, smart_str *str) /* {{{ */
541541

542542
static void build_trace_args_list(zval *tmp, smart_str *str) /* {{{ */
543543
{
544-
if (EXPECTED(Z_TYPE_P(tmp) != IS_ARRAY)) {
544+
if (UNEXPECTED(Z_TYPE_P(tmp) != IS_ARRAY)) {
545545
/* only happens w/ reflection abuse (Zend/tests/bug63762.phpt) */
546546
zend_error(E_WARNING, "args element is not an array");
547547
return;

0 commit comments

Comments
 (0)