ob_start() and a callback function within a class, not updating ob_get_level().

From: Date: Thu, 16 Nov 2006 13:35:32 +0000
Subject: ob_start() and a callback function within a class, not updating ob_get_level().
Groups: php.general 
Request: Send a blank email to php-general+get-244715@lists.php.net to get a copy of this message
Hello there, 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? Thx in advance.

« previous php.general (#244715) next »