diff --git a/functions/strings.xml b/functions/strings.xml index f9da37256c..1bf7ab53b9 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1,5 +1,5 @@ - + String functions Strings @@ -3017,7 +3017,7 @@ if ($pos === false) { // note: three equal signs // in versions older than 4.0b3: $pos = strpos($mystring, "b"); -if (is_string($pos) && !$pos) { +if (!is_integer($pos)) { // not found... } ]]>