mgp25/WhatsAPI-Official — pull request #126 by fermino (2014-11-16 20:22:34+00:00)
Title: isConnected() instead feof() (Line 587)

feof() throws error if socket is null:

Warning: feof(): null is not a valid stream resource in - on line 587