3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timeNextMonth = strtotime('next month',strtotime(date('m/01/y'))); $nbDaysToNextMonth = (($timeNextMonth - strtotime(date('Y-m-d'))) / 86400);

preferences:
57.36 ms | 402 KiB | 5 Q