Replacing Enumerator with yield, part 1. Replaced call_user_func and call_user_func_array with direct variable function calls. Removed copying of $this to $self variable. Dropped support for PHP 5.3.