Date: 11/01/05 (PHP Community) Keywords: php, linux Well, I was coding a BBCode Parser (rather unconventional because the
parser will allow multiple attributes to a BBCode tag like [tag
attrib1="" attrib2=""]...[/tag]) PHP Code:
die(sprintf('
Expected Output: Code:
Code:
It looks like sprintf doesn't like escaped quotes or something. If you add any character after the missing quote, it will appear but the quote will not. I tested this on PHP 5.0.4 on Windows and Linux. Can anyone confirm this problem? Source: http://www.livejournal.com/community/php/362176.html
|