3v4l.org

run code in 300+ PHP versions simultaneously
<?php $shoppingList = array('wine ', 'fish', 'bread', 'grapes', 'cheese'); foreach ($shoppingList as $item) { # echo $item . "\n"; $cool = $item . " is good\t"; $fun ="\t"; echo $fun . $cool; } echo implode($shoppingList, "\n");

preferences:
51.11 ms | 402 KiB | 5 Q