[Webdev] PHP: exception handling / dereferencing / backtracing / conference
Russell Matbouli
russell at futureless.org
Tue Jun 18 09:04:36 IST 2002
On Mon, Jun 17, 2002 at 06:34:33PM +0100, adam beecher wrote:
> exception handling
If something bad happens, you throw an exception. You tell an exception
handler what to do with it. Example: your bank account must be in
credit, but you try to buy something that would exceed the amount of
money in your account. The program could be told that it has to handle
the "not enough money" exception by asking for the cash instead, if that
fails just to tell you to go away. (try/catch/finally in Java - you can
also just say that a class will throw an exception and let the calling
class deal with it - don't know if that's the case with PHP.)
> dereferencing
If you have a reference to a variable (ie, don't know the name, but
someone has pointed you at it) you can get at the contents by
dereferencing. Passing references is more efficient in some languages.
> backtracing
Can't help you there, I'm afraid.
HTH
--
Russell Matbouli |
russell at futureless.org | I am Jack's complete lack of surprise
PGP KeyID: 0x3CA84CF4 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux.ie/pipermail/webdev/attachments/20020618/d92d5907/attachment.pgp
More information about the Webdev
mailing list