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