Re: passing parameters to functions

From: Date: Fri, 21 Jul 2000 01:47:18 +0000
Subject: Re: passing parameters to functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-7499@lists.php.net to get a copy of this message
On 20 Jul, T.R. Henigson wrote: <Parameter passing question> > > Bonus question: In quoting strings, if I don't have to do any variable > interpolation, does it matter whether I use single or double quotes? > Using single quotes gives you easier code to write if you have any embedded double quotes, such as values in HTML tags. I understand that there is a slight speed advantage as single quoted strings aren't parsed for variables. Cheers -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#7499) next »