Try, catch, and finally: handling exceptions with PHP

Опубликовано: 30 Май 2026
на канале: WDEV
6,109
336

In today's video, we'll talk about exception handling in PHP and see in practice how try, catch, and finally blocks work, as well as learn about exception handling cadence and custom exception classes.

_________

Video Requirements:

PHP 7 or higher

Composer

-------------

PHP:

Linux: https://www.digitalocean.com/communit...

Mac: https://jasonmccreary.me/articles/ins...

Windows: https://www.apachefriends.org/pt_br/d...

Composer:

Composer (official website): https://getcomposer.org/download/

Composer (installation tutorial): https://www.hostinger.com.br/tutoriai...

________

Social Media:
Instagram:   / wdevoficial  
Facebook:   / wdevoficial  
Twitter:   / wdevoficial  

________

Credits
Opening uses videos from Pexel (https://www.pexels.com/) by authors Carlos Arribas, Joseph Redfield and BuildWith Angga

________
#exceptions #trycatch #wdev