3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class Text { protected string $text; public function __construct($text) { $this->text = $text; } public function hello() { return $this->text; } } var_dump((new Text(hello))->hello());

This is an error 404

There are `0` results


preferences:
143.36 ms | 1399 KiB | 7 Q