|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-09-25 17:42 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 15:00:01 2025 UTC |
Description: ------------ The name of the input field name gets modified in the $_REQUEST field. Array ( [192_168_0_4] => test ) should be: Array ( [192.168.0.4] => test ) I don't know if it's a bug, but I can't explain it any further by my knowledge. Reproduce code: --------------- <?php echo "<pre>"; print_r($_REQUEST); echo "</pre>"; echo "should be:<br>\n"; print_r(array("192.168.0.4"=>"test")); ?> <form method="get"> <input name="192.168.0.4" value="test"> </form> Expected result: ---------------- Array ( [192.168.0.4] => test ) Actual result: -------------- Array ( [192_168_0_4] => test )