- var_dump: documentation ( source)
<?php
/**
* This is fucking stupid
*/
abstract class ConfusingClass{
/**
* Private property
*/
private $property = 'fucking stupid';
/**
* Why does this keep happening?
*
* @bullshit true
*/
private static function bullshit() {
return false;
}
}
class ConfusedBullshit extends ConfusingClass {
private static function bullshit() {
return true;
}
}
$d = new ReflectionClass('ConfusedBullshit');
var_dump($d);
var_dump($d->getDocComment());