3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("one", "two","three"); while ($phantu = each($arr)) { echo "Key: $phantu[$key]; Value: $phantu[$value]<br />\n"; }

preferences:
57.84 ms | 402 KiB | 5 Q