OK, I'm now seeing a pass rate that more or less matches the same tests run
by the PHP 5 test script and PHP 5.3 binary.
FILE_BINARY is needed in two of seven calls to file_put_contents(). Get it
wrong (either way) and you get a random warning or notice. It's completely
non-portable too -
Hi,
On Thu, 2008-06-12 at 10:53 +0100, Steph Fox wrote:
There is far too much of this kind of thing. Can we please consider adding
dummies into at least 5.3.0 and possibly even the 5_2 branch for:
is_binary()
is_unicode()
These can be easily emulated using PHP like
if