Is it possible to make new custom magic methods in php?
===

I know the question is little overwhelming but let me explain my point.

How wonderful it will if you are able to trace every function call events or any notices occurred. If we are constructing event driven architecture and want to read structured comments at each file inclusions?.

So Is it possible to define new magic methods by writing extensions or any other means ?