From the course: PHP for Non-Programmers

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Using built-in PHP functions

Using built-in PHP functions - PHP Tutorial

From the course: PHP for Non-Programmers

Using built-in PHP functions

- [Instructor] PHP has an extensive library of functions, which we've been calling features, to help us complete certain actions more efficiently. For example, the random end function allows us to get a random number from a range of provided numbers without having to write the code ourselves. But how can you know what PHP functions exist versus what we have to write on our own? A good place to find information on built-in PHP functions is the PHP manual at php.net. They have an extensive list of all the functions, how they work, and additional comment on use. However, there are a few caveats. If you don't know what you're looking for, it could be hard to find the thing that you need. In other words, the search isn't great if you don't already know what you're looking for, it's mostly based on function names. And the other caveat is that this is developers talking to developers. So you'll get sample code but you won't…

Contents