exceptions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • thumb_42@yahoo.com

    exceptions

    How do PHP folks deal with exception handling?

    try {
    .. block that may fail ..
    }catch($err){
    .. clean up resources, etc..
    }

    Is setting a die handler the only way to do this?

    Jamie
  • Tony Marston

    #2
    Re: exceptions

    Certainly not. Check out


    --
    Tony Marston

    This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL



    <thumb_42@yahoo .com> wrote in message news:7XtZb.2505 8$4o.42430@attb i_s52...[color=blue]
    > How do PHP folks deal with exception handling?
    >
    > try {
    > .. block that may fail ..
    > }catch($err){
    > .. clean up resources, etc..
    > }
    >
    > Is setting a die handler the only way to do this?
    >
    > Jamie[/color]


    Comment

    Working...