3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = 'Foo'; echo "What is \$row?\n"; var_dump($row); $rows = ['Hello', 'Test', 'Wow']; echo "Now lets run the same thing again, only this time not as reference\n"; foreach ($rows as $row) { var_dump($row); } echo "And print \$row for the sake of it\n"; var_dump($row);

preferences:
56.43 ms | 402 KiB | 5 Q