3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a_date = "2012-02"; echo 'max day of 2012-02 is ' . date('t', strtotime($a_date)); echo PHP_EOL; $a_date = "2009-02"; echo 'max day of 2009-02 is ' . date('t', strtotime($a_date));
Output for git.master_jit, git.master, rfc.property-hooks
max day of 2012-02 is 29 max day of 2009-02 is 28

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
108.74 ms | 1965 KiB | 4 Q