Add test for bug56662 (which was already fixed)
Add tests to package.xml which were missing
Bugfix#58317 - runkit_import.c doesn't compile on strict C
When restoring misplaced internal functions, put them at the front of EG(function_table)

Probable bugfix for #59186

When Zend cleans up the function table after a request, it walks EG(function_table)
backwards from the end removing functions as long as it sees ZEND_USER_FUNCTION.
Once it encounters the first ZEND_INTERNAL_FUNCTION, it stops.

Under runkit, it's possible to create a user-function sandwhich which means that
ZEND_USER_FUNCTIONs can remain between requests.

This is bad.

We solve that here by always moving the Bucket to the ht's pListHead after
restoring the zend_function to EG(function_table).
Bugfix#57759 - runkit doesn't add magic methods

In fairness, it added them, but only some of them.

Added support for __isset, __unset, __wake, __sleep, __tostring, and __callstatic
Also refactored the macros into proper functions (containing macros)
Expanded phpt testcases
Bugfix#58521 runkit_class_adopt doesn't work as expected

Forgot to actually link the class to its new parent.
Bugfix#57548 - runkit_class_adopt fails on method names with capitals

Also plug a leak in the class adoption inheritance failure path.
Bugfix#56665 - Can't add mixed-case method
Copy ALL the op arrays!

ZE2 does something really stupid with op_arrays.
It refcounts them, but prevents them from being used in any sort of refcounted way.
This patch aims to cope with this particular brand of madness by copying EVERYTHING.
Version agnosticism fixes
Propagate new method to children in runkit_method_rename()
method import should update scope for new zend_function, not old copy
Respect RUNKIT_IMPORT_CLASS_METHODS properly

This seems to have been taken out by a previous refactor
Fix adding (and keeping added) magic methods

Really stupid assignment/equality bug in RUNKIT_MAGIC_DEL macro
And operation ordering with runkit_method_rename()
Fix "importing" of new classes for PHP5, PHP4 can go fly a kite