3v4l.org

run code in 300+ PHP versions simultaneously
<?php $disconnect = "2015-11-07"; $disco_date = date_create($disconnet); $date_fail = date_add($disco_date, date_interval_create_from_date_string("60 days")); $date_recorded = "2015-11-11 05:47:1 var_dump($date_fail);
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected end of file in /in/01Rmq on line 7
Process exited with code 255.

preferences:
178.61 ms | 1395 KiB | 22 Q