3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $it = new ArrayIterator(['foo', 'bar']); $it->rewind(); $el = $it->current(); var_dump($el);
Output for 7.3.0rc3
string(3) "foo"