Skip to content

Commit

Permalink
Nit for older PHPs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Oct 6, 2023
1 parent 1287e7a commit 201c3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/searchsplitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ static function span_balanced_parens($str, $pos = 0, $endchars = null, $allow_em
$plast = "";
$quote = 0;
$startpos = $allow_empty ? -1 : $pos;
$endchars = $endchars ?? " \n\r\t\f\v";
$endchars = $endchars ?? " \n\r\t\x0B\x0C";
$len = strlen($str);
while ($pos < $len) {
$ch = $str[$pos];
Expand Down

0 comments on commit 201c3a3

Please sign in to comment.