PHP error handling « puremango.co.uk

July 5, 2009
By

PHP error handling . Does this type of error handling code look familiar? function doFunction($var) { if(is_numeric($var)) { /* do some stuff*/ } else { return -1; } }. BLEH. How ugly is that? There’s no indication whether -1 is actually …

Read more here: 
PHP error handling « puremango.co.uk

Tags: , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*