Hi internals.

I started a work of refactoring magic methods from internals.

The first goal was to never write ourselves things like "__get", but use
macros for those names. (get, set, invoke, etc...).

A second goal was to rewrite some parts of the compiler which looked like
code duplication which could benefit from macro refactoring.

I did that.
All tests pass.

It may look uglier for people who dont like having more macros, but anyway,
we can cherry pick some commits, etc...

If you have ideas or things to say, I'm listening.
https://github.com/jpauli/php-src/compare/macroing


Julien.Pauli

Reply via email to