3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = fopen('php://temp', 'wb+'); fwrite($fp, "move 19 from 23 to 34\n\n"); fseek($fp, 0); while (!feof($fp)) { if (!fscanf($fp, "move %d from %d to %d\n", $howMany, $from, $to)) unset($howMany, $from, $to); var_dump($howMany, $from, $to); }

preferences:
47.8 ms | 402 KiB | 5 Q