<?php
class ðŸ¥ƒwhisky 
{
    public    
string     $name;
    private   
int        $age;
    private   
Distillery $distillery;
    private   ?
Bottler   $bottler;
}

$whisky = new ðŸ¥ƒwhisky;

echo 
$whisky->name;
?>

Error: Typed property 🥃whisky::$name must not be accessed before initialization



Uninitialized state is checked when reading