Re: Redhat 7 problem and fix

From: Date: Tue, 16 Jan 2001 21:07:34 +0000
Subject: Re: Redhat 7 problem and fix
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-34901@lists.php.net to get a copy of this message
This couldn't have been a 3-4 issue, because it was working in 4, either 4.0.1 or 4.0.2. I was just informed that we went from 4.0.2 to 4.0.4 when moving to RH7, so that might have done it, but it was working reliably (for us) in 4.0.x before the latest. :( anyway, fixed now. Richard Lynch wrote: > {} inside of "" now does order-of-operations, I think... > > Something like that. It's in the docs somewhere. > > I thought this was a PHP3 -> PHP4 change, not related to RedHat nor ereg in > particular... > > ----- Original Message ----- > From: Michael Kimsal <michael@tapinternet.com> > Newsgroups: php.general > Sent: Thursday, January 11, 2001 9:08 AM > Subject: [PHP] Redhat 7 problem and fix > > > We upgraded a box running RH6.2 to RH7. > > > > Same build process for PHP as before, but the ereg functions > > didn't work the same. > > > > ereg_replace("{cow}",$cow,$x); > > > > now needs to be > > > > ereg_replace("\{cow\}",$cow,$x); > > > > The {} are escaped now. Dunno what changed 'under the hood', but > > the only change we made (I'm about 90% certain) was going RH6.2 to > > 7. > > > > Hope this helps someone else doing an upgrade from going as crazy as we > > did... :) > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#34901) next »