Quote:
Originally Posted by James Birkett
Wouldn't you consider it bad practice to pass the variables via referencing considering it's deprecated in 5.3?
|
Well I saw he had PHP 4 specific syntax (such as the constructor), so I provided my code with the same OO flavor. If you are running < PHP 5, you have to explicitly pass by reference or else you'll get some funky results.