Fixed PHP-800: Do not overload error codes.

Making tests for this is tricky, as you need a > 64MB document... not sure if
it's even worth testing.
Merged pull request #433