<?php class Foo { function __construct() { $this->bar = "squirrel"; } function getBar() { return $this->bar; } } $foo = new Foo; var_dump($foo->getBar());
You have javascript disabled. You will not be able to edit any code.