Re: [PHP-WIN] Simple error handling/catching/avoidance

2012-06-10 Thread Jacob Kruger
;Toby Hart Dyke" To: "'Keith Davis'" ; "'Jacob Kruger'" ; Cc: Sent: Friday, June 08, 2012 4:40 PM Subject: RE: [PHP-WIN] Simple error handling/catching/avoidance The problem is noted here (http://www.php.net/manual/en/language.exceptions.php): In

RE: [PHP-WIN] Simple error handling/catching/avoidance

2012-06-08 Thread Toby Hart Dyke
8:39 AM To: php-windows@lists.php.net Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] Simple error handling/catching/avoidance Yup. That bit of obvious error-generating code was also just an example of something that would definitely generate an error/exception, since current actual issue is tha

RE: [PHP-WIN] Simple error handling/catching/avoidance

2012-06-08 Thread Keith Davis
nt: Friday, June 08, 2012 9:24 AM To: php-windows@lists.php.net Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] Simple error handling/catching/avoidance Ok, and, along the lines of this, I also get the following error/exception when I try to determine if a function is defined using function_ex

RE: [PHP-WIN] Simple error handling/catching/avoidance

2012-06-08 Thread Keith Davis
-windows@lists.php.net Subject: Re: [PHP-WIN] Simple error handling/catching/avoidance Yup. That bit of obvious error-generating code was also just an example of something that would definitely generate an error/exception, since current actual issue is that am meant to be using/operating within

Re: [PHP-WIN] Simple error handling/catching/avoidance

2012-06-08 Thread Jacob Kruger
lindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Jacob Kruger" To: Cc: Sent: Friday, June 08, 2012 3:38 PM Subject: Re: [PHP-WIN] Simple error handling/catching/avoidance Yup. That bit of obvious error-generating code was

Re: [PHP-WIN] Simple error handling/catching/avoidance

2012-06-08 Thread Jacob Kruger
t;Jacob Kruger" Cc: Sent: Friday, June 08, 2012 3:20 PM Subject: Re: [PHP-WIN] Simple error handling/catching/avoidance It's the reason why I can't stand exceptions in PHP, we talked about this a bunch at our meeting on Wednesday. You still have to suppress the error through o

Re: [PHP-WIN] Simple error handling/catching/avoidance

2012-06-08 Thread Keith Davis
It's the reason why I can't stand exceptions in PHP, we talked about this a bunch at our meeting on Wednesday. You still have to suppress the error through one of several methods (using @ or custom error handler that does not display it) AND then you have to throw an exception manually. I fact