Update parser.php

Refactoring already ... :D