Date: 12/20/00
- Next message: Rob Hardowa: "[phplib] $sess->delete() results in "This has not been coded yet.""
- Previous message: Bob Bowker: "Re: [phplib] input in flex scanner failed"
- Next in thread: Max A. Derkachev: "Re: [phplib] PHP 4.0.4 problem with templates"
- Reply: Max A. Derkachev: "Re: [phplib] PHP 4.0.4 problem with templates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Rob Hardowa: "[phplib] $sess->delete() results in "This has not been coded yet.""
- Previous message: Bob Bowker: "Re: [phplib] input in flex scanner failed"
- Next in thread: Max A. Derkachev: "Re: [phplib] PHP 4.0.4 problem with templates"
- Reply: Max A. Derkachev: "Re: [phplib] PHP 4.0.4 problem with templates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

