add support for phpctags memory limits

This change is related to techlivezheng/phpctags#5 and goes with techlivezheng/phpctags#6