Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Advanced PHP: Debugging Techniques

via LinkedIn Learning

Overview

Discover how to use built-in PHP tools, as well as the Xdebug and Firebug extensions and FirePHP library, to improve the quality of your code and reduce troubleshooting overhead.

Syllabus

Introduction
  • Welcome
  • Using the exercise files
  • What you should know
1. Built-In PHP Debugging
  • Exploring PHP error levels and consequences
  • Configuring PHP to report what went wrong
  • Logging errors to file
  • Triggering and repairing PHP errors
  • Gracefully handling fatal errors
  • Deciphering backtraces
2. Introducing Xdebug
  • What is Xdebug and how can it be used?
  • Installing the Xdebug extension
  • Displaying variables with Xdebug
  • Exploring remote debugging principles
  • Xdebug remote debugging with NetBeans
  • Profiling performance to find bottlenecks
3. Debugging from the Browser
  • Extending Firefox with Firebug and FirePHP
  • Integrating ChromePHP
  • Using PHP_Debug to debug without a console
Conclusion
  • Best practices
  • Where to go from here
  • Goodbye

Taught by

Jon Peck

Reviews

Start your review of Advanced PHP: Debugging Techniques

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.