3v4l.org

run code in 500+ PHP versions simultaneously
<?php class questions { public function index( $from = null, $other_problem = '' ) { $this->myProperty = 'ss'; if ( $from != 'test' ) { return $this->test(); } return $other_problem; } public function test(){ function myfunc(){} return $this->index(__FUNCTION__, 'sth'); } } class tags extends questions { public function index ($from = null) { return parent::index($from); } } $obj = new tags; echo $obj->index();

This is an error 404

There are `0` results


preferences:
217.41 ms | 2595 KiB | 8 Q