ID: 29715 Updated by: [EMAIL PROTECTED] Reported By: roberto at spadim dot com dot br -Status: Open +Status: Bogus Bug Type: Strings related Operating System: linux slack9.1 PHP Version: 5.0.0 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. Your example code doesn't run. Previous Comments: ------------------------------------------------------------------------ [2004-08-17 05:11:17] roberto at spadim dot com dot br Description: ------------ When using: function test{ $a{0}="ae"; echo $a; } returns: Arrayae with php4 it shows: ae Reproduce code: --------------- function test{ $a{0}="ae"; echo $a; } test(); Expected result: ---------------- ae Actual result: -------------- Arrayae ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29715&edit=1