3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php final class mGenerator implements Iterator { function rewind(); function valid(); function current(); function key(); function next(); function send($value); //throw(Exception $exception); } $mg = new mGenerator(); var_dump($mg);
Output for 5.3.0 - 5.4.22
Fatal error: Non-abstract method mGenerator::rewind() must contain body in /in/cBsQp on line 4
Process exited with code 255.