3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Foo { public $hidden; function hide() { $hidden = $this; unset($this); } function __call($name, $arguments) { echo 'hello from overload'; } } class Bar { use Foo; function hello() { echo 'hello from bar'; } } $foo = new Bar(); $foo->hello();

This is an error 404

There are `0` results


preferences:
144.3 ms | 1399 KiB | 7 Q