- var_dump: documentation ( source)
- error_reporting: documentation ( source)
<?php
error_reporting(E_ALL);
class asd{
private $p = "asd";
}
class bsd extends asd {
function print_p(){
$this->p = "hallo";
var_dump( $this->p);
}
}
$bsd = new bsd;
$bsd->print_p();