LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] PHP: exception handling / dereferencing / backtracing / conference

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell