- error_reporting: documentation ( source)
<?php
error_reporting(-1);
class Dog{
public static function sound(){
$bark = "WOOF!";
return $bark;
}
}
$new = new Dog();
echo Dog::sound();
echo $new->sound();
// Just to make sure that 3v4l.org displays deprecated notices
eregi('a', 'b');