I want to migrate code from PHP 5.2 to 5.4. This worked fine so far except that all the code I use makes extensive use of just using an object with a member without any init
you really could use an IDE for php and try to do this:
Search for $MyObject->MyMember = "Hello";
$MyObject->MyMember = "Hello";
Look for the results and if it brings the right things, try to replace that with:
$MyObject = new stdClass(); $MyObject->MyMember = "Hello";
So maybe the IDE would do the long work for you...