Giedrius D wrote:
> Hi,
>
> sorry if I missed something but is there any reason to not use keyword "use"?
>
> IMHO allowing keywords in class, method, function, etc. names brings
> more confusion then value.
>   
The same confusion that is brought about by allowing keywords as
variable names?

<?php
class Test
{
    public $class;
}

$a = new Test;
$a->class = 1;
?>

Is this next example any more confusing?

<?php
class Test
{
    function class(){}
}

$a = new Test;
$a->class();
?>

I think you're confused by what is proposed :).

Greg

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

Reply via email to