Because the majority of use cases involving strings do not involve binary strings. Or, as Rasmus said, "logic".

-Andrei

Steph Fox wrote:
Hi all,

Tony's not alone, I'm also playing with PHP 6 today.

As Edward mentioned when I started talking about the upgrade path, we don't have a way to cope with the (binary)|(b) cast prior to PHP 5.2.1. It's arguable that most people will have access to PHP > 5.2.1, but that's not 100% useful if you have something you'd like to 'just work' regardless of other peoples' updates. Personally I'm stuck with the choice of making the default phar stub forward compatible or backward compatible - there's no way to do both.

Can someone please explain why (string) isn't a pseudonym for (binary) in PHP 6.0? There's probably a very good reason and I'm just not seeing it... but it would go a long way to solving the problem if it were.

- Steph


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

Reply via email to