Appendix B. Strings, Tools, and Techniques

This appendix lists string functions that you will use often while developing PHP programs. Not all of these are thread safe, and you should review the list before you choose how you will manipulate strings. As to the aliases, be careful which ones you use and be consistent in use. If you’re going to use the chop() function because you like the Perl tone of it, then don’t intermingle it with the PHP rtrim() function.

These functions let you create substrings, manipulate strings, or collect information to parse strings. The explode() and implode() functions are frequently found in example code accessing the MySQL database. Alternatives to using the explode() and implode() functions are found in Chapter ...

Get Oracle Database 10g Express Edition PHP Web Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.