On 25 May 2008, at 19:28, Marcus Boerger wrote:

 now that we got rid of the unicode.semantics switch, should we change
var_dump("foo") from showing 'unicode(3) "foo"' back to 'string(3) "foo"' as it is the new string type and change the other output to show 'binary'
which it is now?

I'd say that var_dump("foo") should give 'unicode(3) "foo"' and var_dump(b"foo") should give 'binary(3) "foo"'. I see no reason not to give the explicit type — why would anything rely on this for backwards compatibility?


--
Geoffrey Sneddon
<http://gsnedders.com/>


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

Reply via email to