3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = new SplFileObject("data:text/plain,line1\r\nline2\r\nline3", 'r'); for($k = $x->key(), $v = $x->current(); $x->valid(); $x->next()) echo "$k: $v";

Abusive script

This script was stopped while abusing our resources