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
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to