Some of the functions in views are making trouble with PHP 5.3, due to call-by-reference arguments when the function is called via call_user_func_array.
- Anything that wants to be called via module_invoke_all should be by-value, because any references are lost on the way.
- Any function that wants to be called via any other thing that uses call_user_func_array should be very careful about by-reference arguments, because in many cases the received argument value will not be a reference.
- Object-valued arguments don't need to be by-reference. They are pointers. Unless you want a reference to the pointer itself.
- $view is always an object.
I found a few of these functions in views/includes/admin.inc:
views_ui_ajax_form (breaking the ajax functionality for PHP 5.3)
and a lot of "&$views" in the code itself. Hey it's not necessary, object vars are pointers!! (or is this some weird PHP 4 stuff ?)
In most cases the solution is to simply remove the unnecessary "&".