PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_Template_IT » Bug #1096

about '$"

Details

Submitted2004-03-30 13:03 UTC
Fromstan at china dot com
StatusBogus
PackageHTML_Template_IT
PHP Version4.3.4
OSapache+windowsXP
Roadmaps(Not assigned)

Comments

[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)