> A couple of questions for clarity: > > (a) Does this work properly with PHP 4.2?
There is an even weirder bug, at least in the 4.2.3/CGI case (the session output handler gets called after the request shutdown which already disabled the session, so that the rewriter is not invoked). This bug can be circumvented by using ob_flush() which causes the output buffer to be emptied immediately. In HEAD, this yields: if (!OG(ob_nesting_level)) { php_error_docref("ref.outcontrol" TSRMLS_CC, E_NOTICE, "failed to flush buffer. No buffer to flush."); > (b) Other than the buffering issue, does it perform what it's supposed to > do (i.e., yields the right output)? The test case would not fail, if the output was correct. :-) - Sascha -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php