Fix bug 666222

This also adds some smaller, isolated tests related to bug 66622.

Conflicts:
	Zend/zend_vm_def.h
	Zend/zend_vm_execute.h
Fix bug 666222

This also adds some smaller, isolated tests related to bug 66622.
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug 666222
fix order
fix order
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix order