unread
Hi,
the following script:
<?php
class Singleton {
public static $instance = NULL;
}
$c= new ReflectionClass('Singleton');
var_dump($c->getProperty('instance')->getValue());
?>
prints "UNKNOWN:0" - expected behaviour would be to print "NULL".
Attached is a diff against zend_reflection_api.c which fixes this.
--
Timm
If it ain't broken, it doesn't have enough features yet