- ini_set: documentation ( source)
- error_reporting: documentation ( source)
<?php
ini_set('display_errors', true);
error_reporting(-1);
class Dog{
public static function sound(){
$bark = "WOOF!";
return $bark;
}
}
$new = new Dog();
echo Dog::sound();
echo $new->sound();