|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-02-20 16:20 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 22:00:02 2025 UTC |
Description: ------------ Just try code reproduced here. Indexed input type image returns only "Y" value in "string" but not "array" with "X" and "Y". Reproduce code: --------------- <form method=get> BUG - <input type="image" src="image.gif" name="submit[4]"><br> OK - <input type="image" src="image.gif" name="submit_auto_index[]"><br> OK - <input type="image" src="image.gif" name="submit_single"><br> </form> <pre> <? var_dump( $_REQUEST ); ?> </pre> Expected result: ---------------- array(1) { ["submit"]=> array(1) { [4]=> array(2) { [0]=> string(1) "9" [1]=> string(2) "13" } } } Actual result: -------------- array(1) { ["submit"]=> array(1) { [4]=> string(2) "13" } }