Re: str_replace() problem in PHP5 - anyone else?
| From: | Jason Davidson | Date: | Wed, 04 Aug 2004 15:44:33 +0000 |
| Subject: | Re: str_replace() problem in PHP5 - anyone else? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-192717@lists.php.net to get a copy of this message | ||
Yup, i understand not in php 5, there was some large OO changes in php
5, which is why i asked about $this->year. Ive been using php 5 for the
last year, and havent had a problem with str_replace, and have used it a
fair amount for loading email templates.
So when you look at the source, the @@FISCAL_YERAR@@ is still in the
html lines? str_replace did not do anything at all?
Jason
Jon Bertsch <jon.bertsch@ucop.edu> wrote:
>
>
>
> Jason wrote:
> >is it possbile $this->year isnt what you expect?
>
> If I hard code the value it makes no difference and it works fine
> in php4.3.x and in dev just not on php5 with some load on the server. It
> was tested on the same server before moving to live production and it
> worked then as well.
>
> Jon Bertsch
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>