[phplib] PHP 4.0.4 problem with templates From: Padraic Renaghan (list <email protected>)
Date: 12/20/00

Any one else tried PHP 4.0.4 with the PHPLIB template class?

I'm having a new problem which I think is due to the new
back reference handling in 4.0.4.

Specifically code like:
 print(preg_replace("/{FOO}/","\$7.50","Amount is {FOO}"));

Results in:
 Amount is .50

When under prior versions it resulted in:
 Amount is $7.50

I tried escaping the "$" with "\$" but that didn't work.

My PHP bug report is at:
  http://bugs.php.net/?id=8339

Thoughts?

-- 
Padraic Renaghan /pad-rik ren-a-han/
padraic <email protected>
AOL IM(gaim): PadraicRenaghan
http://renaghan.com/pcr/

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>