EE 1
EE 2
PHPStringFun
Developer
3rd Party (Free)
Compatibility
- LG Addon Updater
- Multi Site Manager
- Stand Alone Entry Form
Requirements
- jQuery for the Control Panel
- Hermes
Fun with strings! PHPStringFun is the plugin that acts as a gateway to PHP’s string functions without needing to activate PHP in a template.
Fun with strings
This widely-installed ExpressionEngine add-on is a general-use text-formatting plugin that enables access to PHP string functions without activating PHP in the template.
Why would you not want to activate PHP in your template? One important scenario for the plugin is that you actually do have PHP activated, but set to parse at the input stage, while you need something else done in the same template requiring PHP at the output stage.
Also, people just like using it, particular in templates where not much PHP is needed.
Functions
Functions this plugin is known to work with:
- addcslashes
- bin2hex
- chop
- chr
- chunk_split
- convert_cyr_string
- convert_uudecode
- convert_uuencode
- count_chars
- crc32
- crypt
- echo
- explode
- get_html_translation_table
- hebrev
- hebrevc
- html_entity_decode
- htmlentities
- htmlspecialchars_decode
- htmlspecialchars
- join
- levenshtein
- localeconv
- ltrim
- md5_file
- md5
- metaphone
- money_format
- nl_langinfo
- nl2br
- number_format
- ord
- parse_str
- printf
- quoted_printable_decode
- quotemeta
- rtrim
- setlocale
- sha1_file
- sha1
- similar_text
- soundex
- sprintf
- sscanf
- str_ireplace
- str_pad
- str_repeat
- str_replace
- str_rot13
- str_shuffle
- str_split
- str_word_count
- strcasecmp
- strchr
- strcmp
- strcoll
- strcspn
- strip_tags
- stripcslashes
- stripos
- stripslashes
- stristr
- strlen
- strnatcasecmp
- strnatcmp
- strncasecmp
- strncmp
- strpbrk
- strpos
- strrchr
- strrev
- strripos
- strrpos
- strspn
- strstr
- strtok
- strtolower
- strtoupper
- strtr
- substr_compare
- substr_count
- substr_replace
- substr
- trim
- ucfirst
- ucwords
- vfprintf
- vprintf
- vsprintf
- wordwrap
The download file contains a version of the plugin for both EE v1.x and v2.x.
PHPStringFun Links
- PHPStringFun
- [EE Forums] Plugin: PHPStringFun
- [EE Forums] Displaying “read more” next to the body’s last character.
This entry was last updated December 11, 2009, 6:33 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!