Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

Re: [PHP] Where is the modifier "/e" in preg_replace() (Andrei?) ? From: Tony Mobily (merc <email protected>)
Date: 07/15/00

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 <email protected> - mobily <email protected>

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>