Posted by Peter Croft on 06/09/05 00:11
I am a newcomer to php; I recently loaded a binary copy (5.0.3) onto my PC
running win2k and Apache 2.0.52.
It seems to work fine except that it is very slow running the function
is_null e.g. the dummy program below -
<?php
for($i=0; $i<1000; $i++) {
if(is_null($x)) $y=0;
}
echo 'done'
?>
This takes around 30 seconds to run and the disk is accessed continuously.
A friend ran it under both win2k and Linux and it finished in under a
second. Have I set up something wrong? As I say everything else seems fine.
Thanks for any help.
Peter Croft
[Back to original message]
|