segmentio/analytics-php — pull request #13 by gmoreira (2013-04-26 16:48:26+00:00)
Title: Undefined variable $written causes fatal error.

When an exception is immediately caught on the first fwrite, $written has not been defined yet and the fatal error occurs.