Re: [PHP] Single quoted strings (was: ereg_replace to preg_replace translation)

2009-08-11 Thread Ben Dunlap
> > Personally I try to not use double quoted. > PHP parses single quoted very much faster. > > # for this > echo "Hi, $name, wellcome $home"; > > # I use > echo 'Hi, ', $name, ', wellcome ', $home; > I'm not sure if this was true in older versions of PHP, but it's not so much any more, and I wond

[PHP] Single quoted strings (was: ereg_replace to preg_replace translation)

2009-08-11 Thread Martin Scotta
On Tue, Aug 11, 2009 at 12:21 PM, Ford, Mike wrote: > > -Original Message- > > From: m a r k u s [mailto:queribus2...@hotmail.com] > > Sent: 11 August 2009 15:34 > > > > I see that from PHP 5.3.0 ereg_replace() function is deprecated and > > throws a warning. > > I would like to use the p