So you can put variables inside quoted strings.
Without $ how would this work?

   price = 9.95;
   echo "The price is price";

It also means you can have variables that are the same name as function
names.

-Rasmus

On Tue, 12 Nov 2002, brucedickey wrote:

> I've searched, but haven't found the answer -- from a language design point
> of view, why are there $ on the front of PHP variable names?
>
> Thanks,
>
> Bruce
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to