PHP parser for ifconfig outputs