Join Kevin Skoglund for an in-depth discussion in this video Warnings and errors, part of PHP Essential Training.
- [Instructor] When we encounter an error in our code,…the more information we have about that error,…the easier it's going to be to resolve it.…In this movie, we'll look at the warnings…and errors that PHP generates and learn…how they can help you to resolve problems.…But first, the most important thing it to make sure…that error reporting is turned on.…We can't deal with our errors if we can't see them.…So we want to make sure that PHP is reporting errors…as they happen to us when we're in development.…There are two ways to do this.…The first is that we can set the error reporting…in the php.ini file, and we saw…how to do that back in the configuration chapter.…
You just edit your php.ini file to have display_errors On,…error_reporting equal to whatever settings we want to have…for that, and then restart our web server…so that it reloads that php.ini file.…We can also set the error reporting…on the fly in our PHP code.…This is especially useful if we are working…on a server where several people are sharing a copy of PHP.…
- What is PHP?
- Embedding PHP code on a page
- Inserting code comments
- Variables, strings, arrays, and Booleans
- If, else, and elseif statements
- While and for loops
- User-defined functions
- Function arguments and return values
- Debugging and troubleshooting
Skill Level Beginner
MVC Frameworks for Building PHP Web Applicationswith Drew Falkman2h 57m Intermediate
1. PHP Overview
2. First Steps
3. Explore Data Types
4. Control Structures: Logical Expressions
5. Control Structures: Loops
6. User-Defined Functions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.