Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14078775
D21477.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
329 B
Referenced Files
None
Subscribers
None
D21477.diff
View Options
diff --git a/src/utils/utf8.php b/src/utils/utf8.php
--- a/src/utils/utf8.php
+++ b/src/utils/utf8.php
@@ -426,6 +426,8 @@
* @return list A list of characters in the string.
*/
function phutil_utf8v($string, $byte_limit = null) {
+ $string = phutil_string_cast($string);
+
$res = array();
$len = strlen($string);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 5:06 AM (18 h, 12 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6777358
Default Alt Text
D21477.diff (329 B)
Attached To
Mode
D21477: Fix an issue where "phutil_utf8v()" could fatal when passed an integer
Attached
Detach File
Event Timeline
Log In to Comment