Description
Writing extension classes is a breeze these days for conventional methods thanks to stub generation. But one thing that's still a chore is zend_parse_parameters() (or the fast ZPP macro API).
It would be great if function-specific ZPP macros and variable definitions could be generated from stubs. This way parsing args would be able to avoid manually writing those macros in, I'd imagine, almost all cases?
For example, these lines could be easily generated as a macro from my stub, I'd think: https://github.com/pmmp/ext-encoding/blob/a076df5718df5cb4e3bddb21da550258efe4e67f/classes/ByteBufferReader.cpp#L124-L128