- var_dump: documentation ( source)
<?php
class C {
private $a;
private $b;
public function __construct($a = null, $b = null) {
$this->a = $a;
$this->b = $b;
}
public function doSomethingWithA() { /**/ }
public function doSomethingWithB() { /**/ }
}
$c = new C();
var_dump($c);