<?php class e { public function foo() { $file = fopen('php://input', 'r'); $this->$file = 'foo'; return $this; } } var_dump((new e)->foo());
You have javascript disabled. You will not be able to edit any code.