in encode/php/src/EncodeUtil.php [34:44]
public static function percentEncode($raw)
{
if (!isset($raw)) {
throw new \InvalidArgumentException('not a valid value for parameter');
}
$str = urlencode($raw);
$str = str_replace("+", "%20", $str);
$str = str_replace("*", "%2A", $str);
$str = str_replace("%7E", "~", $str);
return $str;
}