encode_php
Encodes any special characters so that the string can be used safely as the value in PHP code.
The value of the attribute can be either qq
(double-quote interpolation),
here
(heredoc interpolation),
or q
(single-quote interpolation).
q
is the default.
Example:
<?php $the_title = '<$MTEntryTitle encode_php="q"$>'; $the_author = "<$MTEntryAuthorDisplayName encode_php="qq"$>"; $the_text = <<<EOT <$MTEntryText encode_php="here"$> EOT ?>
Related modifiers: