Posted by Koncept on 09/28/43 11:57
In article <44f986b2$0$21756$dbd45001@news.wanadoo.nl>, SF
<sfranclGEENMAIL@wanadoo.nl> wrote:
> > $image_names[count($image_names)] = $file;
This is superfluous key assignment. You can make vast speed
improvements to this code by modifying your line to the following:
$image_names[] = $file;
The array keys will automatically be added as required starting from
position 0.
--
Koncept <<
"The snake that cannot shed its skin perishes. So do the spirits who are
prevented from changing their opinions; they cease to be a spirit." -Nietzsche
Navigation:
[Reply to this message]
|