3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d', strtotime($item['date']));

preferences:
43.88 ms | 402 KiB | 5 Q