'array_push(...)' misused.

This commit is contained in:
Yuriy Pikhtarev 2017-05-05 01:00:57 +03:00
parent b5065ae0ac
commit 897445bba3
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
2 changed files with 2 additions and 2 deletions

View file

@ -256,7 +256,7 @@ function strip_quotes($text)
if ($stacksize == 0) {
$newtext .= substr($text, $substr_pos, $pos - $substr_pos);
}
array_push($stack, $pos);
$stack[] = $pos;
} else {
// pop off the latest opened tag
if ($stacksize) {

View file

@ -907,7 +907,7 @@ class template
break;
case '(':
array_push($is_arg_stack, $i);
$is_arg_stack[] = $i;
break;
case 'is':