<?php
class Bedroom {
    private 
$action;

    function 
__construct() {
        
$this->action 'fun';
    }
}

$br = new Bedroom();
echo 
$br->action"\n";
?>
Fatal error: Cannot access private property bedroom::$action in foo.php on line 11