3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! function iterator_compose() { foreach (array_reverse(func_get_args()) as $it) { if (is_callable($it)) { $prev = $it; } } } function chunk(\Traversable $it, $chunkSize) { $chunk = []; } foreach (chunk(range(0, 128), 32) as $c) { var_export($c); }

preferences:
36.8 ms | 402 KiB | 5 Q