#31571 [Opn->Bgs]: < in parameter to a function does not work
| From: | derick@php.net | Date: | Sun, 16 Jan 2005 14:38:44 +0000 |
| Subject: | #31571 [Opn->Bgs]: < in parameter to a function does not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72248@lists.php.net to get a copy of this message | ||
ID: 31571
Updated by: derick@php.net
Reported By: srabol at mail dot tele dot dk
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows 2000
PHP Version: 4.3.9
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Use "view source" in your browser...
Previous Comments:
------------------------------------------------------------------------
[2005-01-16 15:33:10] srabol at mail dot tele dot dk
Description:
------------
If you have < as a charater in string and use that string as parameter
to a function call, then the parameter is empty
Reproduce code:
---------------
<?php
function foo($p_parm)
{
echo "Parameter : $p_parm<br>";
}
foo("<noreply>");
foo('<noreply>');
foo("<noreply");
foo('<noreply');
?>
Expected result:
----------------
Parameter : <noreply>
Parameter : <noreply>
Parameter : <noreply
Parameter : <noreply
Actual result:
--------------
Parameter :
Parameter :
Parameter : Parameter :
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31571&edit=1