Bug #745 Updated: <input type=image> and array variables

From: Date: Mon, 14 Jan 2002 10:57:40 +0000
Subject: Bug #745 Updated: <input type=image> and array variables
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76997@lists.php.net to get a copy of this message
ID: 745 Comment by: wank@wank.com Old Reported By: be@shonline.de Reported By: wank@wank.com Status: Analyzed Bug Type: Scripting Engine problem Operating System: any? PHP Version: 4.0.6RC3 New Comment: what a load of wank Previous Comments: ------------------------------------------------------------------------ [2001-12-12 15:02:08] zak@php.net Personally, I would rather avoid adding configuration directives for something as small as this! :) ------------------------------------------------------------------------ [2001-12-12 14:45:10] hholzgra@php.net i'd like to have $whatever[...][...][x] and $whatever[...][...][y] in all cases, maybe with ini switches for old, new or both ... ------------------------------------------------------------------------ [2001-12-12 14:33:25] zak@php.net Maybe we should just make $foo_x[123] and $foo_y[123] available in addition to $foo[123]? That should keep BC and still do things right, though we might want to change the value of $foo[123] to something like 'x,y' instead of just y??? ------------------------------------------------------------------------ [2001-12-12 14:26:34] jpm@php.net Well, I don't believe this would be such a BC breaker. I mean, the behavior is clearly broken and by the timespan of this report and by the lack of discussion about this through the years, I don't think that many people experienced this. I would vote for a fix. :) -- Joao ------------------------------------------------------------------------ [2001-12-12 14:22:25] zak@php.net Confirmed in PHP 4.1.0 Do we want to change this behavior? IMO, this is wrong, but it has been like this for a long time. Do we want to break BC to fix it? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=745 Edit this bug report at http://bugs.php.net/?id=745&edit=1

« previous php.dev (#76997) next »