Re: [PHP] php cli script with if-then's very slow

2005-08-18 Thread Richard Lynch
On Thu, August 18, 2005 2:14 am, Frans Fierens wrote: > I've noticed that php cli scripts using for-loops with some > if...then's > are very slow using the php cli (command line interface). The > following > php script takes somewhat 100 seconds (php v5.0.3 on a redhat linux, 3 > Ghz PC). The same

[PHP] php cli script with if-then's very slow

2005-08-18 Thread Frans Fierens
I've noticed that php cli scripts using for-loops with some if...then's are very slow using the php cli (command line interface). The following php script takes somewhat 100 seconds (php v5.0.3 on a redhat linux, 3 Ghz PC). The same program in c (see below) less than 1 second ... I know that ph