- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.23
- Parse error: syntax error, unexpected '}' in /in/hQHhF on line 4
Process exited with code 255.
<?php
class Test {
public function x() { return 'x'; }
public function y() { return function() { return $this->x() }; }
}
$test = new Test();
$test->y();