Why can't I do this:
--
class test {
        static $foo = '';
}
class test2 {
        var $how = 3;
}

$bar = new test2;
test::$foo = $bar;

echo "How ? ".test::$foo->$bar;
--
output gives me 'How ? '

Is it a PHP/ZE2 bug? If not, how to do that right ?

-- 
NetClub'ment votre
Mickael BAILLY
http://www.netclub.fr/


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

Reply via email to