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

From: Date: Fri, 31 Dec 2004 10:40:32 +0000
Subject: #31365 [Opn]: the multiple dimension arrays are not diplayed correctly via echo
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71347@lists.php.net to get a copy of this message
ID: 31365 User updated by: rm_dani at yahoo dot com -Summary: the double array's content is not displayed Reported By: rm_dani at yahoo dot com Status: Open Bug Type: Output Control Operating System: windows XP sp2 PHP Version: 5.0.3 New Comment: I change the title of the bug cause it's happening for all the arrays with multiple dimensions Previous Comments: ------------------------------------------------------------------------ [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 (#71347) next »