Requests for comment/Magic expressions

Background
It is well known that the Magic words are very popular, but one often is not easy to use and have performance problems. This issue was discussed here and it was decided in favour of the Scribunto extension. I'm sure it can not be the sole true solution.

Another way
It seems that it was the first way. I just now saw the extension WikiScripts. I have not seen the code, but the description is very similar to what I did. I call it magic expression.

The problem with magic occurs only when one trying to be like an expression. Magic expression is the magic words in a scripting expression. This makes the magic words user-friendly and easier for the extension developers.

Several times I did refactoring the code, and has achieved excellent results.

It is the Extension:PhpTags.

Benchmark 1. Brute force ( 100 000 loops )
Source of Benchmark 1:

I did it on my notebook HP ProBook 4530s, core i5, 4G ram. PHP is PHP 5.3.17, and PhpTags is Extension:PhpTags 1.0.7 PHP took:      0.036 sec PhpTags took: 18 sec PhpTags/PHP: 500

Yes, it is 500 times slower than PHP, but it's just 0.00018 sec per loop (0.000015 sec for one operator)!!!