<?php
interface Bah {}
abstract class Test implements Bah {
protected $pro = 9;
public function __construct($x) {
}
}
class TestMe extends Test {
//protected $pro = 50;
}
class TestProxy extends Test {
protected $a;
public function __construct($x, $a = null) {
echo $a->pro;
}
}
$a = new TestMe('');
$p = new TestProxy('', $a);