dollars and sense.

From: Date: Tue, 27 Jan 2004 02:34:45 +0000
Subject: dollars and sense.
Groups: php.internals 
Request: Send a blank email to internals+get-7340@lists.php.net to get a copy of this message
Why must variable names begin with $? I can't see any real reason, except when signalling a replacement within a string (e.g., "... $var ..."). The language would be less cumbersome if the dollar was optional otherwise. Mike

« previous php.internals (#7340) next »