[RFC] Change var_dump back?
| From: | Marcus Boerger | Date: | Sun, 25 May 2008 18:28:49 +0000 |
| Subject: | [RFC] Change var_dump back? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-37866@lists.php.net to get a copy of this message | ||
Hello Internals,
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? And long those lines should we change all occurances of
the 'u' prefix to instead show a 'b' prefix if non usnice? All in all I
would prefer to reflect the real situation, the new string type is unicode
capable but named 'string' and the old stuff is binary data and hence
called 'binary'. And when entering strings we have a b prefix but no u
prefix. This would affect a ton of tests but we need to fix run-tests and
most tests anyway. For one, we need to drop all --UEXPECT*-- blocks.
Best regards,
Marcus