من قبل
reenadevi pcrk , Project Assistant , Indian Institute Of Science
PHP was based on perl.In perl we are using $ for denoting variables.hence IN PHP also we are using variable with $.Prepending all variables with $ makes the code easier to parse.