Added base class for PHP parser