<?php class foo { private $foo = null; public function __construct($foo) { $this->foo = $foo; } public function method() { var_dump($this->foo); } } (new foo('foo!'))->method();
You have javascript disabled. You will not be able to edit any code.