instantiate a variable-length constructor in php 5.1.3 and up, and falls back to the old, ugly, manual method that was in the old wfCreateObject function. The instances in the core have been replaced.
make the callback PHP 5.1 compatible with the Class::Method syntax. Add Unit tests to supplement it.