which is better:orCode:$ip=$db;
Code:$ip="$db";
which is better:orCode:$ip=$db;
Code:$ip="$db";
Last edited by james438; 03-30-2010 at 03:12 AM.
To choose the lesser of two evils is still to choose evil. My personal site
Could try processing it yourself http://blog.smileylover.com/calculat...imple-counter/ I'm not sure off hand and it seems hard to google
Corrections to my coding/thoughts welcome.
I used the code you linked and found no difference.
This is the best that I could find from php.net on the subject: http://www.php.net/manual/en/language.types.string.php
To choose the lesser of two evils is still to choose evil. My personal site
Never use extra steps when you don't need them-- it will take longer.
$x="$y" is VERY inefficient because everything in the quotes must be parsed then converted to a string (from a string variable), then copied.
$x=$y is just copying the value.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Bookmarks