Further refining the php parsing.  This is becoming a thing of beauty.