Chapter 3
PHP Libraries
IN THIS CHAPTER
Getting familiar with PHP libraries
Working with text functions
Handling numbers
Using dates
Playing with images
As you start creating your dynamic web applications, you’ll often find yourself wanting to perform certain functions that require quite a bit of coding, such as manipulating data or performing complex mathematical calculations. The true test of a robust programming language is in how much work it can save you by providing prebuilt code libraries that do most of the hard coding work for you. Fortunately, PHP has an extensive set of built-in libraries that can save you lots of development time as you build your web applications! This chapter dives into the basics of using the built-in libraries in PHP.
How PHP Uses Libraries
All programming languages provide libraries of functions that help you with your coding. How many there are and how they do that differs somewhat between programming languages.
Some interpreted programming languages ...
Get PHP, MySQL, & JavaScript All-in-One For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.