Have a read
Posted: Sat Aug 19, 2006 4:19 pm
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
When did php5 get released?Last revised 28 Feb 2005
July 2004.Jenk wrote:When did php5 get released?Last revised 28 Feb 2005
You want to disagree with me on the amount of changes that have taken place since Feburary 2005? Uh huh.Oren wrote:I disagree with you, I didn't refer to this article as resource for technical information, but more as something to read and think about
Code: Select all
for ($j=0; $j<sizeof($arr); $j++)
echo $arr[$j]."<br>";
// This can be substantially speeded up by changing the code to:
for ($j=0, $max = sizeof($arr), $s = ''; $j<$max; $j++)
$s .= $arr[$j]."<br>";
echo $s;Really? I had no idea...I would think the opposite...but again...maybe this informaiton may also be antiquated???For processing XML, parsing with regular expressions is significantly faster than using DOM or SAX.
Only objects are passed by reference. All other types are copies.Hockey wrote:I think PHP 5 automatically passes all paramters by reference doesn't it?
That's what I was trying to sayfeyd wrote:Ignoring all the code in the article, some of the concepts will nearly always be true. And that's where it breaks down: they're nearly all basic concepts.
Well then, you should have said that.Oren wrote:That's what I was trying to say

I thought I didfeyd wrote:Well then, you should have said that.