3v4l.org

run code in 300+ PHP versions simultaneously
<?php define (“MYCONSTANT”,150); define (“MYCONSTANT”,160); echo MYCONSTANT; $n = $i = 5; while ($i--) echo str_repeat(' ', $i).str_repeat('* ', $n - $i)."\n"; ?>

preferences:
43.99 ms | 402 KiB | 5 Q