3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('d M, Y', strtotime('today'))."\n"; if(date('j', strtotime('today')) === '1') echo date('jS', strtotime('today')); elseif(date('j', strtotime('today')) === '2') echo date('jS', strtotime('today')); elseif(date('j', strtotime('today')) === '3') echo date('jS', strtotime('today'));

preferences:
53.95 ms | 402 KiB | 5 Q