It makes perfect sense to me that ord() would work on binary strings. When we return an ASCII value we don't limit the range returned, it can be 1 or 255. So, I see no reason to cripple this function and prevent it from working on binary data.
Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php