|
[
Permalink
| « Hide
]
Petr Skoda added a comment - 03/Jul/09 05:54 AM
done
Petr Skoda made changes - 03/Jul/09 05:54 AM
Petr, which commits should fix these bad assignments? Checked CVS and it looks like there are definitely some illegal assignments still in the trunk. As far as I can tell, there are ~100 places in Moodle that make illegal old-style assignments.
Are these going to be patched based on changing syntax or using the PHP4/5 dual-compatibility workaround? The former: $obj =& new Class($attrs); The latter: function & build(&$new){ return $new; } This is an interesting issue that plagues Moodle heavily. We don't support PHP 4 in Moodle 2, so we just need to change the syntax. Eric, could you post your list of places and perhaps even a patch?
Added Eric as a watcher
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||