3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $timeNextMonth = strtotime('next month',strtotime(date('m/01/y'))); $nbDaysToNextMonth = (($timeNextMonth - strtotime(date('Y-m-d'))) / 86400);, echo $timeNextMonth->format('d/m/Y');
Output for 5.3.0 - 5.4.12
Parse error: syntax error, unexpected ',' in /in/4jH6l on line 3
Process exited with code 255.