Re: Re: cvs: livedocs / error.php

From: Date: Tue, 04 May 2004 15:15:34 +0000
Subject: Re: Re: cvs: livedocs / error.php
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969360466@lists.php.net to get a copy of this message
Nuno Lopes wrote:
you didn't improve nothing, you've broke it :)
print_r(explode(' ', "en  fr      ja"));
Array (
    [0] => en
    [1] =>
    [2] => fr
    [3] =>
    [4] =>
    [5] =>
    [6] =>
    [7] =>
    [8] => ja
)
so if I do ./configure --with-languages="en  fr     ja" the explode call isn't efficiant. The preg_split() was taking care of this :)
didou
The preg_split takes too much time to run. explode is much faster. That will only occur if you don't configure livedocs correctly. Maybe its better to change the space ' ' to a comma. ./configure --with-languages="en,fr,ja,de" What do you think of that?
I think you won't do nothing : http://news.php.net/article.php?group=php.cvs&article=27252 Merci monsieur Open Source et Closed Minds :) didou

« previous php.doc (#969360466) next »