Re: Sablotron leaks

From: Date: Sun, 24 Jun 2001 17:29:07 +0000
Subject: Re: Sablotron leaks
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-57847@lists.php.net to get a copy of this message
sh>> I'd need to see your test script to give you an answer, that sh>> repeat count does look nasty (with an FYI that I'm no longer sh>> maintaining Sablot, as all my development efforts are now sh>> focused on the XSLT extension..) The script is pretty plain: <? define("TC", 50); $xsl = join("", file("x.xsl")); for($t=0; $t < TC; $t++) { $src = join("", file("f")); xslt_process($xsl, $src, $s); $arr = split("\n", $s); $cnt = count($arr); for($i=0;$i < $cnt-1; $i+=4) { $ret[] = array( $arr[$i], $arr[$i+1], $arr[$i+2], $arr[$i+3]); } } ?> -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.dev (#57847) next »