note 108981 deleted from reflectionproperty.getdoccomment by danbrown
| From: | danbrown@php.net | Date: | Wed, 13 Jun 2012 15:31:40 +0000 |
| Subject: | note 108981 deleted from reflectionproperty.getdoccomment by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-188586@lists.php.net to get a copy of this message | ||
Note Submitter: Ievgen Iefimenko the_boss at bk dot ru
----
<?php
class Classname{
/**
* Here is comment of property
*/
public $variable;
}
$obj = new Classname;
$rp = new ReflectionProperty($obj,'variable');
echo $rp->getDocComment();