|
Posted by Ivαn Sαnchez Ortega on 03/01/06 11:17
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Krustov wrote:
>>>$thc="$suffix" . "$height";
>>
>> The double-quotes are pointless here, but otherwise correct.
>
> How pointless is that ? .
Just pointless.
Using double-quotes in that scenario will just increase the parsing time. If
you want to concatenate two (mixed) variables into one string, just use the
"." operator. That will make an implicit variable casting of any numeric
(integer or float) variables to string, with no need to use any quotes or
explicit casting:
$thc = $height . $suffix;
And, BTW: KISS.
- --
- ----------------------------------
IvΓ‘n SΓ‘nchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
El que las hace, las imagina.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFEBWag3jcQ2mg3Pc8RApfFAJ9xauBkL6tMS4D/z0oToUG8WFEJLQCfSnpC
z2mmzPVLqRGUt1S8JDCkzIg=
=DeIU
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|