Re: [PHP] Throwing an exception seems to defeat output buffering

2009-02-03 Thread Stuart
2009/2/3 Wickland, Leif : > I would expect that if I turn on output buffering, echo something, throw an > exception, and catch the exception, nothing will have been actually output.. > That doesn't seem to be the case. Throwing an exception seems to defeat > output buffering. > > In the follow

[PHP] Throwing an exception seems to defeat output buffering

2009-02-03 Thread Wickland, Leif
I would expect that if I turn on output buffering, echo something, throw an exception, and catch the exception, nothing will have been actually output.. That doesn't seem to be the case. Throwing an exception seems to defeat output buffering. In the following code, I would not expect to see t

[PHP] Throwing an exception seems to defeat output buffering

2009-02-02 Thread Leif Wickland
I would expect that if I turn on output buffering, echo something, throw an exception, and catch the exception, nothing will have been actually output. That doesn't seem to be the case. Throwing an exception seems to defeat output buffering. In the following code, I would not expect to see the ,