Date: 01/04/01
- Next message: nathan r. hruby: "Re: Re[2]: [phplib] php4.0.4 and phplib template problems."
- Previous message: Max A. Derkachev: "Re: [phplib] Getting previous session id..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
For those of you that were asking about problems with
PHP 4.0.4 and PHPLIB templates, here is a repost of a
message I sent to the list on 12/20...
---------- Forwarded message ----------
Date: Wed, 20 Dec 2000 12:08:21 -0500 (EST)
From: Padraic Renaghan <list <email protected>>
To: phplib <email protected>
Subject: PHP 4.0.4 problem with templates
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: nathan r. hruby: "Re: Re[2]: [phplib] php4.0.4 and phplib template problems."
- Previous message: Max A. Derkachev: "Re: [phplib] Getting previous session id..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

