php string echo behaving weirdly -
the following not printing , have not yet found explanations online:
<?php function aa() { return "<w"; } $r = aa(); echo $r; ?>
no matter kind of quotes use. if print string not starting < , followed character prints correctly. on php.ini but, ideas???
you can try this:
<?php function aa() { return htmlspecialchars("<w"); } $r = aa(); echo $r; ?>
Comments
Post a Comment