Exceptions versus Errors4:40 with Alena Holligan
Exceptions are an object-oriented approach to programming, while error are the procedural approach. PHP is an exception light language by default, but you can change errors into exceptions when working with object-oriented code. How and when to use exceptions versus errors and how to tell PHP to throw errors as exceptions.
You need to sign up for Treehouse in order to download course files.Sign up