This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

Base64Decode()

Deprecated in 5.0.

Please use Base64::Decode instead.

Base64Decode(string,encoding): String

Decode base64 encoded string. Accepts string to decode and optional character encoding. Valid character encodings are "UTF-8", "UCS-2", "UCS-4", "SYSTEM". Default is UTF-8.

Table 1. Parameters

string

String

String to decode

encoding

String

String encoding. Optional parameter.

Return

Decoded string

print(Base64Decode("U29tZSB0ZXh0")); //Will print "Some text"