|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-10-19 04:10 UTC] laruence@php.net
-Status: Open
+Status: Bogus
[2011-10-19 04:10 UTC] laruence@php.net
[2011-10-20 04:04 UTC] systemcore0v34c10ck-iheartspam at yahoo dot com
-: karunungan.odesk@gmail.com
+: systemcore0v34c10ck-iheartspam at yahoo dot com
[2011-10-20 04:04 UTC] systemcore0v34c10ck-iheartspam at yahoo dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 13:00:01 2025 UTC |
Description: ------------ Variables containing a less than sign at the start immediately followed by a character does not evaluate (nothing is returned). If the character is followed by other characters such as <br /> or \n, the correct string is returned. Test script: --------------- $foobar = "<A"; echo $foobar; //does not work! (string) $foobar = "<A"; echo "$foobar"; //does not work! function foobar(){ $foobar = "<A"; return $foobar; } echo foobar(); //does not work! $foobar = "<A<br />"; echo $foobar; //works! $foobar = "<A\n"; echo $foobar; //works! Expected result: ---------------- <A