3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(strftime( '%Y-%m-%d %H:%M:%S', strtotime( '+1 year' ) )); var_dump(date_format(date_create('+1 year'), 'Y-m-d H:i:s'));

preferences:
84.19 ms | 408 KiB | 5 Q