- error_reporting: documentation ( source)
<?php
error_reporting(E_ALL);
class Fluent {
public function __construct($a = null) { // New signature.
}
}
class ChildFluent extends Fluent {
public function __construct($a = []){ // Old signature.
}
}
$child = new ChildFluent;