How do you handle validation errors in your PHP application? Throw exceptions? That feels clunky. Return an array of error message strings? Good luck trying to handle any particular error in a unique way.
TJ Draper shows us a better approach.
Nashville PHP is a community of PHP and Web developers serving the metro Nashville and Middle Tennessee areas. Everyone is welcome, no matter your skill level. Come learn with us!