marius popa wrote:
> I was looking at the examples used in php.js library
> http://phpjs.org/functions/index
> and it struck me that is cleaner to read the functions and code without the
> $ names in it
> 
> From what i understand  $ in front of variables is an Perl legacy

This would also eliminate constants from PHP, as currently they are
T_STRING and variables would become T_STRING.  Not a good idea.

<?php
define('oops', 1);
$oops = 2;
echo $oops,' ',oops;
?>

Thanks,
Greg

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to