On Thu, November 16, 2006 7:35 am, Mathijs wrote: > I have a question about ob_start() and ob_get_level(). > > When i use ob_start(), and then check ob_get_level(), it shows me 1. > This is a normal behavior. > > Now when i do the following ob_start(array('ClassName', > 'ClassMethod')). > It does execute the methode, but it doesn't update ob_get_level(). > > Is this a normal behavior? Can you show us where/how you checked ob_get_level()? Cuz I don't really understand what the OOP stuff should do for a callback, and would have to re-read the docs, but my first guess is you do the ob_get_level() after the buffer is all done and the callback is finished and gone, so the level is back to 0... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php