|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-16 15:38 UTC] derick@php.net
[2005-01-16 15:47 UTC] srabol at mail dot tele dot dk
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 21:00:01 2025 UTC |
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 :