Personal functional namespace extractor for PHP