Type hinting for properties in PHP 7?
<p>Does php 7 support type hinting for class properties? </p>

<p>I mean, not just for <em>setters/getters</em> but for the property itself. </p>

<p>Something like:</p>

<pre><code>class Foo {
    /**
     *
     * @var Bar
     */
    public $bar : Bar;
}

$fooInstance = new Foo();
$fooInstance-&gt;bar = new NotBar(); //Error
</code></pre>