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