Changeset View
Changeset View
Standalone View
Standalone View
src/utils/PhutilSortVector.php
Context not available. | |||||
} | } | ||||
public function addString($value) { | public function addString($value) { | ||||
if (strlen($value) && (strpos("\0", $value) !== false)) { | if (@strlen($value) && (@strpos("\0", $value) !== false)) { | ||||
throw new Exception( | throw new Exception( | ||||
pht( | pht( | ||||
'String components of a sort vector must not contain NULL bytes.')); | 'String components of a sort vector must not contain NULL bytes.')); | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0