testing fix for php warning on real_connect()