Quote Originally Posted by Dr Livingston
Yes, but NULL isn't the type expected no? Say... I must be thick this morning
function __construct(B $b = null)

$b has to be of type B or null. the = null allows nulls to be passed in. Whereas function __construct(B $b) requires a object of type B.