Andrei Zmievski wrote:
> My argument was that ord() semantics and docs say that it works on 
> _characters_ and this simply does not make sense for the binary 
> strings. If we really want ord() to work on binary type, fine, but  we'd
> better have docs that make sense then.

IMHO the docs say characters because up until now, a character was
equivalent to a single byte in PHP. I think this is a documentation
snafu, that should be addressed by updating the docs accordingly.

Ilia

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to