Product DescriptionThis book will cover all the most important tasks related to dealing with text/strings in PHP. The core of the book will look at PHP's built in string functions and the two flavours of Regular Expressions that PHP supports. String handling functions and Regular expressions basically solve many of the problems but in a very different way. This book won't just look at how to use them but when and where each is appropriate and what affect that choice has on performance.
What this book covers:
Regular expressions
String functions in PHP (obviously!)
How PHP internally handles strings
Performance of the various string handling options in PHP
Character sets (ASCII, Unicode, etc.)
String Searches
Customer Reviews
Average Rating:
Rating: - Good Material, Badly Written.
There is some good string handling material in this very small book which was helpful. But when I returned to the book for a regular expression refresher & help with preg_match(), I was really disappointed. Chapter 4 (regular expressions) is badly written by Paul Adams. The main part of the preg_match() description shows that no proof reader ever proofed chapter 4. Ie:
"This takes a pattern string and a subject when the function finds a match to its regular expression, it returns ... Read More
Rating: - Handy intro to the power of PHP with text (strings)
If you are just getting into PHP and do a lot of work with text formatting in web sites, this book is a very comfortable way to develop an understanding of the potential of PHP for altering, displaying, and receiving input with different types of text issues: forms; guarding against HTML/script/other tags being inserted by your users; searching and organizing in text fields and databases,
There's good explanations of the conceptual whys/hows of work with MySQL database, a gentle introduction ... Read More