3v4l.org

run code in 300+ PHP versions simultaneously
<?php final class mGenerator implements Iterator { /* void rewind(); bool valid(); mixed current(); mixed key(); void next(); mixed send(mixed $value); mixed throw(Exception $exception); */ } $mg = new mGenerator(); var_dump($mg);

preferences:
38.57 ms | 402 KiB | 5 Q