Свойство | Type | Description | |
---|---|---|---|
$preserve | Reserved characters to preserve when using encode(). |
Méthode | Description | |
---|---|---|
__construct ( boolean $preserve = false ) | String of characters that should be preserved while using encode(). | |
encode ( string $string ) : string | Our replacement for urlencode, it encodes all non-reserved characters, as well as any extra characters that were instructed to be preserved. | |
normalize ( string $string ) : string | Fix up percent-encoding by decoding unreserved characters and normalizing. |
public __construct ( boolean $preserve = false ) | ||
$preserve | boolean |