Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37866 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25544 invoked from network); 25 May 2008 18:29:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2008 18:29:24 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:38360] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E9/FD-21001-300B9384 for ; Sun, 25 May 2008 14:29:24 -0400 Received: from MBOERGER-ZRH.corp.google.com (228-188.78-83.cust.bluewin.ch [83.78.188.228]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 8033111F04F for ; Sun, 25 May 2008 20:29:20 +0200 (CEST) Date: Sun, 25 May 2008 20:28:49 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <138099273.20080525202849@marcus-boerger.de> To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Subject: [RFC] Change var_dump back? From: helly@php.net (Marcus Boerger) 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