|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20085 HTML Array variables are not working properly
Submitted: 2002-10-25 09:31 UTC Modified: 2002-11-10 01:00 UTC
Avg. Score:4.5 ± 0.9
Reproduced:5 of 5 (100.0%)
Same Version:2 (40.0%)
Same OS:2 (40.0%)
From: natz at idecnet dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 4.2.3 OS: Linux (┬┐any?)
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-10-25 09:31 UTC] natz at idecnet dot com
<form method=post action=myself.php>
 <input type="text" name="myTest[]">
 <input type="text" name="myTest[]">
  echo "myTest[0] ->".$myTest[0]."<BR>\n";
  echo "myTest[1] ->".$myTest[1]."<BR>\n";

Try run the simple script, and you'll see. The array myTest contains parts of the values of the input fields, but not the complete values. Usually works once you type numbers as input. Weird.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-25 09:35 UTC] natz at idecnet dot com
Try it online at

Its an apache 1.3.37 on linux. The programs using this feature have worked flawlessly since PHP3.0.2, and suddenly broke down yesterday after the PHP4.2.2-PHP4.2.3 upgrade.
 [2002-10-25 09:36 UTC] natz at idecnet dot com
excuse me..
 [2002-10-25 09:38 UTC]
Please try using this CVS snapshot:
For Windows:

 [2002-11-10 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC