[Phpmyadmin-devel] use of count() in for loops

Minhaz A V minhazav at gmail.com
Fri Feb 14 23:21:26 CET 2014


Hi,
I was going through the codes and at many places I found use of
*count() *inside
the *for* statement.
I think statements like

*for($i = 0; $i < count($arr); $i++)*
should be converted with statements like

*$len = count($arr);*
*for($i = 0; $i < $len; $i++)*

this would help us speed up the whole phpMyAdmin system.


Regards,
Minhaz
cistoner.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140215/1a0a13a6/attachment.html>


More information about the Developers mailing list