This doesn't make sense:
<?php
error_reporting(E_ALL);
class foo {
var $bar;
}
$n = new foo;
echo $n->bar;
?>
Results in:
PHP Notice: Undefined property: bar
I think it's misleading in best case. Property 'bar' *is* declared, so I
think it should have an entry in class's default_properties table, even
though it's not assigned a value.
Please copy me on replies.
-Andrei
* The cost of living hasn't affected its popularity. *
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php