3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php interface Flexy { protected function move(); } class Bend implements Flexy { public function move() { echo "bend\n"; } public function anotherMove() { $this->move(); } } $b = new Bend; $b->anotherMove();
Output for 5.3.0 - 5.4.19
Fatal error: Access type for interface method Flexy::move() must be omitted in /in/4DunE on line 4
Process exited with code 255.