PHP5 and Exceptions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rainer Collet

    PHP5 and Exceptions

    hi all!

    i begun developing a little framework making extensive use of exceptions
    with php5 beta3. now i upgraded to php5 beta4 and always get an "Fatal
    error: Exception thrown without a stack frame in Unknown on line 0".
    although the missing line number i figured out which throw-command is
    responsable for that error.

    i switched back to beta3 an realized, that the exception condition is true
    there, too. but it was not thrown for an unknown reason. in beta4 i always
    get that strange error. can someone please help me to understand?

    thanks,
    rainer


  • Rainer Collet

    #2
    Re: PHP5 and Exceptions

    i guess it must have something to do with destructors called after the
    exception is thrown.


    Comment

    Working...