Refactored magic methods

From: Date: Fri, 02 Aug 2013 16:47:00 +0000
Subject: Refactored magic methods
Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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


Thread (6 messages)

« previous php.internals (#68360) next »