Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.2

Bug #1096 about '$"
Submitted: 2004-03-30 13:03 UTC
From: stan at china dot com Assigned:
Status: Bogus Package: HTML_Template_IT
PHP Version: 4.3.4 OS: apache+windowsXP
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 34 + 12 = ?

 
 [2004-03-30 13:03 UTC] stan at china dot com
Description: ------------ code: ... $var1 = "$test"; $var2 = "$1234"; $arr = array("var1"=>$var1,"var2"=>$var2); $tpl->setVariable($arr); ... result: ... test,34 I have tried the lastest version, same result.. Now I have to use: $var = str_replace("\$","\\$",$var)

Comments

 [2004-04-06 18:48 UTC] mike
Thank you for taking the time to write to us, but this is not a bug. You should use single quotes (') if you don't want PHP to parse string contents.