rewrite reduce runtime feature with PHP-Parser
 add one test for reduce runtime feature