Conversion FiltersLike the string.* filters, the convert.* filters perform actions similar to their names. The convert filters were added with PHP 5.0.0. For more information on a given filter, refer to the manual page for the corresponding function.
convert.base64-encode and
convert.base64-decode
Use of these filters are equivalent to processing all stream data through
the base64_encode and base64_decode
functions respectively.
convert.base64-encode supports parameters given as
an associative array. If Example #1 convert.base64-encode & convert.base64-decode
<?php
convert.quoted-printable-encode and
convert.quoted-printable-decode
Use of the decode version of this filter is equivalent to processing all stream
data through the quoted_printable_decode functions.
There is no function equivalent to convert.quoted-printable-encode.
convert.quoted-printable-encode supports parameters given as
an associative array. In addition to the parameters supported by
convert.base64-encode, convert.quoted-printable-encode
also supports boolean arguments Example #2 convert.quoted-printable-encode & convert.quoted-printable-decode
<?php |