- var_dump: documentation ( source)
- error_reporting: documentation ( source)
<?php
error_reporting(E_ALL);
class a { public function __construct(){} }
class b extends a { public $b; public function __construct($b){ $this->b = $b; } }
$t = new b('Test');
var_dump($t->b);