#31365 [Opn->Bgs]: the multiple dimension arrays are not diplayed correctly via echo

From: Date: Fri, 31 Dec 2004 11:24:45 +0000
Subject: #31365 [Opn->Bgs]: the multiple dimension arrays are not diplayed correctly via echo
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71355@lists.php.net to get a copy of this message
ID: 31365 Updated by: derick@php.net Reported By: rm_dani at yahoo dot com -Status: Open +Status: Bogus Bug Type: Output Control Operating System: windows XP sp2 PHP Version: 5.0.3 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . Previous Comments: ------------------------------------------------------------------------ [2004-12-31 11:40:31] rm_dani at yahoo dot com I change the title of the bug cause it's happening for all the arrays with multiple dimensions ------------------------------------------------------------------------ [2004-12-31 11:33:02] rm_dani at yahoo dot com Description: ------------ just test the followings: $bug[0][0] = "Bug in PHP4.0.4"; echo "Display the bug: $bug[0][0]"; echo "Display the bug: ". $bug[0][0]; I doubt that's a feature:D Kind regards, Daniel Reproduce code: --------------- $bug[0][0] = "Bug in PHP4.0.4"; echo "Display the bug: $bug[0][0]"; echo "Display the bug: ". $bug[0][0]; Expected result: ---------------- Display the bug: Bug in PHP4.0.4 Display the bug: Bug in PHP4.0.4 -------------------- the PHP4.0.4 string is due to the original version of PHP I was using and I've discovered it... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31365&edit=1

« previous php.bugs (#71355) next »