<?php $txt = "Hello world!"; $x = 5; $y = 10.5; ?>
class Bike { function Bike() { $this->type = 'BMX'; } } $blackSheep = new Bike(); print $blackSheep->type;
<?php class SimpleClass { public $var1 = 'hello'; } ?>