The Internals of Passing Variables by Reference and Value

Tobby :

The concept of passing variables by reference or value isn't new to seasoned PHP developers; but often, newer developers aren't as familiar with this concept. Simply put: "by reference" means that you are passing the pointer (memory address) of a variable, while "by value" means you are copying the contents of a variable.

Posted 12/12/2011 - 09:41

A Story of a PHP Variable Reference Pitfall

Irakli:

If you think you have something as "basic" as PHP variables and reference rules all figured-out, you may have to think twice. Or at least that's what happened to me and following is an honest-to-heart story of it.

Posted 08/27/2009 - 20:14 // 6 comments