<?php
// Everything you enter here will be executed by our servers. Try it!
interface bob {
}
abstract class bobby implements bob {}
class A extends bobby {
public function __construct($ob) {
echo $ob->value;
}
}
class B extends A {
public function __construct(){}
protected $value = 'unicorns';
}
$a = new A(new B());