Skip to content

Commit

Permalink
Merge pull request #81 from wiris/v4.9.1
Browse files Browse the repository at this point in the history
V4.9.1
  • Loading branch information
ptorrent-at-wiris authored Sep 27, 2023
2 parents 13372cb + 6310cc0 commit 43f3938
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions quizzes/lib/php/Boot.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,10 @@ function _hx_has_field($o, $field) {
}

function _hx_index_of($s, $value, $startIndex = null) {
if ($s == null || $value == null) {
return -1;
}

if ($startIndex == null) {
$x = strpos($s, $value);
} else {
Expand Down Expand Up @@ -415,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 43f3938

Please sign in to comment.