|
Posted by Ivαn Sαnchez Ortega on 10/22/05 13:52
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NurAzije wrote:
Oh, and, by the way:
> for($i=0;$i<count($done)+1;$i++)
Always use foreach() to transverse array: it's quite more secure (doesn't
miss any array keys, even if non-numeric) and compact (i.e. readable).
[...]
> $a=strrpos($done[$i],":");
Also, if you are not going to use variable expansion (putting a variable
name inside a double-quote-enclosed string), use single quotes instead. It
saves the script a very small little bit of parsing time (that always
helps).
- --
- ----------------------------------
IvΓ‘n SΓ‘nchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
"If you haven't got anything nice to say about anybody, come sit next to
me."
- Alice Roosevelt Longworth (1884-1980)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDWhnT3jcQ2mg3Pc8RAoyYAJ9ozRD4EwSuHe9lK3QSUFIe2+ZIiQCffluZ
/b3Z0xAOSf64CnbG3z8tFK0=
=SdHn
-----END PGP SIGNATURE-----
[Back to original message]
|