1<?php
2
3class Foo {
4    public $prop;
5}
6
7class Bar extends Foo {
8    public $prop = self::FOOBAR;
9    const FOOBAR = 42;
10}
11