Re: Re: cvs: livedocs / error.php
| From: | Nuno Lopes | Date: | Tue, 04 May 2004 15:09:46 +0000 |
| Subject: | Re: Re: cvs: livedocs / error.php | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969360465@lists.php.net to get a copy of this message | ||
> 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?
Nuno