<slide>
<title>Typed Properties</title>

<example>
&lt;?php
class 🥃whisky 
{
    public    string     $name;
    private   int        $age;
    private   Distillery $distillery;
    private   ?Bottler   $bottler;
}

$whisky = new 🥃whisky;

echo $whisky->name;
?>
</example>
<break/>
<div effect="fade-in">
<blurb class="error">
Error: Typed property 🥃whisky::$name must not be accessed before initialization
</blurb>

<break lines="2"/>
<blurb class="centre">Uninitialized state is checked when reading</blurb>
</div>
</slide>
