Scalar FunctionsEncoding Functions
base64_encode_fromarray
Encodes an array of bytes (longs from 0 to 255) as a base64 string.
Anything else, including an array holding any other element, gives an empty string.
Syntax
base64_encode_fromarray(bytes)Parameters
Prop
Type
Returns: string
Examples
Example 1
print base64_encode_fromarray(base64_decode_toarray("S3VzdG8="))| print_0 (string) |
|---|
| S3VzdG8= |