Php : Class, new instance, echo

Run Settings
LanguagePHP
Language Version
Run Command
<?php class Voiture{ private $couleur="rouge"; //ma propriété est privé public $vitesse=0; //ma propriété est public } $berline=new Voiture(); echo $berline->$couleur; //Echo est l'équivalent de console.log ?>
Editor Settings
Theme
Key bindings
Full width
Lines