Why does virtual behave like it does?

From: Date: Sun, 03 Aug 2003 18:34:12 +0000
Subject: Why does virtual behave like it does?
Groups: php.general 
Request: Send a blank email to php-general+get-158080@lists.php.net to get a copy of this message
Here's what I tried: function buf($cmd) { ob_start(); preg_replace("#e#e",$cmd,"e"); $ret=ob_get_contents(); ob_end_clean(); return $ret; } ob_start(); $contents=buf('virtual("/test/")'); I tried the buf() function with print() and it worked as expected... Now, why does virtual teminate ob? I think it would be better with the possibility to parse the output some... Why? Cause I access my Tomcat from Apache and Tomcat must generate a XML page that would basicly need to be parsed... -- // DvDmanDT MSN: dvdmandt@hotmail.com Mail: dvdmandt@telia.com

« previous php.general (#158080) next »