This tutorial is part 1/2 about exception handling in PHP. The video will teach you how to throw, try, and catch exceptions, as well as how to create your own custom exception types. The reason you'd want a custom exception type is so you can catch it individually, and attempt to handle it accordingly. The reason for throwing exceptions is to prevent the program to continue to execute if a certain condition is not met. For example, there's no reason to continue execution of a game if the graphics
آی-ویدئو