- var_dump: documentation ( source)
- error_reporting: documentation ( source)
- trigger_error: documentation ( source)
<?php
error_reporting(E_ALL & ~E_USER_DEPRECATED);
trigger_error('Hey, this is deprecated behaviour', E_USER_DEPRECATED);
class Test
{
public function Test()
{
var_dump('here');
}
}
new Test();
echo 1, PHP_EOL;