3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '2 months'; $n = strtotime('13 March 2014'); $t = strtotime($s, $n); echo date('M', $t);

preferences:
39.67 ms | 402 KiB | 5 Q