Add support for PHP 5.6.0alpha1.

Fixes travis-ci/travis-ci#1886 and #268.