Sfoglia il codice sorgente

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

Aleksandr Kuzmenko 4 anni fa
parent
commit
c9dc21c7ec
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
 		@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
 		@see http://php.net/manual/en/function.mb-substr.php