Skip to content

Commit

Permalink
chore: update quizzes lib (include fix for strrpos too)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pol Torrent i Soler committed Sep 27, 2023
1 parent 94ef356 commit 6310cc0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions quizzes/lib/php/Boot.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,11 @@ function _hx_is_numeric($v)
}

function _hx_last_index_of($s, $value, $startIndex = null) {

if ($s == null || $value == null) {
return -1;
}

if ($startIndex == null) {
$x = strrpos($s, $value);
} else {
Expand Down

0 comments on commit 6310cc0

Please sign in to comment.