Re: Where is the modifier "/e" in preg_replace() (Andrei?) ?
| From: | Tony Mobily | Date: | Sat, 15 Jul 2000 16:36:56 +0000 |
| Subject: | Re: Where is the modifier "/e" in preg_replace() (Andrei?) ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6752@lists.php.net to get a copy of this message | ||
Hi,
I can't believe it... I had Apache with both PHP3 and PHP4 installed, and
I gave my script the wrong extension...!
You were right, I was actually using an old version of PHP.
Do I get a prize for asking the silliest question ever? :-/
Merc.
> > I apologise, I was about to write to the mailing list what version of PHP
> > I was using!
> >
> > I am using php-4.0.1pl2, the latest available.
> >
> > Merc.
> >
> > P.S.
> > You answered in 45 seconds. Yes, I am very impressed :-)
>
> 'Unknown option' - that alone tells me that you must be somehow using an
> older version of PHP, because in the later ones that message was changed
> to 'Unknown modifier'.
>
> -Andrei
>
> The 3 great virtues of a programmer:
> Laziness, Impatience, and Hubris.
> --Larry Wall
>
--
----------------------------------------------------------------------
Tony Merc Mobily, technical editor of "Dev." and "Login"
Linuxpapers.org coordinator http://www.linuxpapers.org
Technical Writer
Personal Phone Number: ++61-8-93355105, +8 GMT, +7 from Italy!
Currently located in: PERTH, Australia
merc@squiz.net - mobily@infomedia.it