Yet another package available in centos-sclo-sclo-testing php-ast exports the AST internally used by PHP 7. php-ast is significantly faster than PHP-Parser, because the AST construction is implemented in C. However, php-ast may only parse code that is syntactically valid on the version of PHP it runs on. https://pecl.php.net/package/ast Can be used by Phan (PHP Static Anyalyser) https://packagist.org/packages/phan/phan For rh-php71 (EL-7 only) * sclo-php71-php-ast-1.0.0-1 For rh-php70 * sclo-php70-php-ast-1.0.0-1 Notices: Remi. P.S. https://wiki.centos.org/SpecialInterestGroup/SCLo