[Phpmyadmin-devel] Is PMA_STR_binarySearchInArr needed?
Michal Čihař
michal at cihar.com
Wed Jun 8 09:29:57 CEST 2011
Hi
Dne Tue, 7 Jun 2011 20:36:44 +0200
Piotr Przybylski <piotr.prz at gmail.com> napsal(a):
> No, but I think it's better to leave their definitions as they are now
> - even though sorting would not be needed, they are currently easy to
> read and modify.
I don't think having flipped arrays would make it much harder to read
$list = array(
'FOO',
'BAR,
);
versus
$list = array(
'FOO' => 1,
'BAR => 1,
);
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110608/59f7c26e/attachment.sig>
More information about the Developers
mailing list