Browse Source

[php] changed return type of mb_strlen (closes #10132)

Aleksandr Kuzmenko 4 years ago
parent
commit
c9dc21c7ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/php/Global.hx

+ 1 - 1
std/php/Global.hx

@@ -1177,7 +1177,7 @@ extern class Global {
 	/**
 		@see http://php.net/manual/en/function.mb-strlen.php
 	**/
-	static function mb_strlen(str:String, ?encoding:String):EitherType<Int, Bool>;
+	static function mb_strlen(str:String, ?encoding:String):Int;
 
 	/**
 		@see http://php.net/manual/en/function.mb-substr.php