From: gabriel at zunto dot com
Operating system: Windows 2000 Professional
PHP version: 4.3.4
PHP Bug Type: Output Control
Bug description: Problems with POST and GET variables
Description:
------------
With PHP 4.3.4 is no possible to verify if POST or GET variables is
undefineds because the global variable $_POST is a Array, therefore the
index of Array $_POST is not found.
Reproduce code:
---------------
<?php
if(!$_POST["delivered"]){
echo "Yes";
}
?>
Expected result:
----------------
Show the string "Yes"
Actual result:
--------------
Notice: Undefined index: delivered in c:\********\file.php on line 2
Yes
--
Edit bug report at http://bugs.php.net/?id=26181&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26181&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26181&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26181&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26181&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26181&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26181&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26181&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26181&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26181&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26181&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26181&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26181&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26181&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26181&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26181&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26181&r=float