David Restall - System Administrator wrote:
My main obesrvation is that I'm glad that I decided to revisit all my old PHP4 stuff and rewrite or clean it up. I have hundreds of $Working_Class = $Under_Class; lines in my code as well as $Upper_Class = & $Aristocracy; lines too. I think the documentation on references needs updating to reflect PHP 5's behaviour a little more accurately because I can see this causing serious problems to somebody just copying their code blindly.
This change was made very clear in the changelog for PHP5. Whenever you change to a different PHP version the changelog should be the first thing you read. If you try to read the documentation to pick out the changes you'll miss something.
-Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php