Architectural restrictions aside, is it far off to ask if something like this could be possible in PHP6:

<?

class TestReservedKeywordMethods
{
    public $value = "2";

    public function isset()
    {
        if (is_null($this->value))
            return false;
        else
            return true;
    }

    public function unset()
    {
        $this->value = 0;
    }

}

$test = new TestReservedKeywordMethods();
$test->isset();
$test->unset();

?>

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

Reply via email to