encode_php_tags($str)
| Parameters: |
|
|---|---|
| Returns: |
Safely formatted string |
| Return type: |
string |
This is a security function that converts PHP tags to entities.
Note
xss_clean() does this automatically, if you use it.
Example:
$string = encode_php_tags($string);
Please login to continue.