Skip to content

Commit

Permalink
#1259 - Update error message of zend_error() call
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Apr 20, 2021
1 parent 7cd41f6 commit 06b5b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernels/ZendEngine3/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ int ZEPHIR_FASTCALL zephir_array_unset(zval *arr, zval *index, int flags)
return (zend_symtable_del(ht, Z_STR_P(index)) == SUCCESS);

default:
zend_error(E_WARNING, "Illegal offset type");
zend_error(E_WARNING, "Passed index has illegal offset type (check zephir_array_unset())");
return 0;
}
}
Expand Down

0 comments on commit 06b5b80

Please sign in to comment.