provide php(extname) to really be supporting multiple php versions