3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date_create('2011-04-24')->modify('-1 days')->format('Y-m-d');

preferences:
53.05 ms | 404 KiB | 5 Q