bug: isset() returns nothing !
| From: | Andreas Jung | Date: | Wed, 23 Feb 2000 06:32:41 +0000 |
| Subject: | bug: isset() returns nothing ! | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10692@lists.php.net to get a copy of this message | ||
PHP4b4pl1 produces for the following code:
<?
function f($p) {
echo "isset:". isset($p)."\n";
echo "empty:".empty($p)."\n";
}
f();
?>
X-Powered-By: PHP/4.0b4pl1
Content-Type: text/html
isset:
empty:1
According to the documentation isset() should return true or false but
not nothing.
Andreas Jung
--
_\\|//_
(' O-O ')
------------------------------ooO-(_)-Ooo--------------------------------------
Andreas Jung, Saarbrücker Zeitung Verlag und Druckerei GmbH
Saarbrücker Daten-Innovations-Center
Untertürkheimerstraße 15, D-66103 Saarbrücken, Germany
Phone: +49-(0)681-502-1528, Fax: +49-(0)681-502-1509
Email: ajung@sz-sb.de (PGP key available)
-------------------------------------------------------------------------------