String FiltersEach of these filters does precisely what their name implies and correspond to the behavior of a built-in php string handling function. For more information on a given filter, refer to the manual page for the corresponding function. string.rot13 (since PHP 4.3.0) Use of this filter is equivalent to processing all stream data through the str_rot13 function. Example #1 string.rot13
<?php string.toupper (since PHP 5.0.0) Use of this filter is equivalent to processing all stream data through the strtoupper function. Example #2 string.toupper
<?php string.tolower (since PHP 5.0.0) Use of this filter is equivalent to processing all stream data through the strtolower function. Example #3 string.tolower
<?php string.strip_tags (since PHP 5.0.0) Use of this filter is equivalent to processing all stream data through the strip_tags function. It accepts parameters in one of two forms: Either as a string containing a list of tags similar to the second parameter of the strip_tags function, or as an array of tag names. Example #4 string.strip_tags
<?php |