Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Error Checking and Handeling
March 27, 2009, 5:56 am
rate this thread
taught. I have read numerous books on it, and have only recently
discovered PHP's error handling class. The books I have hardly cover the
topic of error handling, other than they say it should be done, then they
proceed to give the same examples on the php.net website.
I am looking for any useful information about how to properly code for
error handling and exceptions. What I've read I can duplicate, however I
do not understand very well. Are there any good resources that can
explain this aspect of php for me better than the few examples on the
What I've seen (try/catch/throw) does not look any more efficient then
basic (if) statements to validate if an action or test has passed/failed
and direct code on how to handle such failures. As the majority of my
time coding is spent error checking/handling and making my code better I
figured this is important to me... so any good example code, or tutorials
on line or books would be handy.
March 27, 2009, 7:51 am
Re: Error Checking and Handeling
I think this is a topic on which we can spend a lot of time explaining it.
But I don't want to re-invent the wheel.
Try this site if you haven't already:
If this does not help there are a lot of ppl around who can.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum