3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '1990-12-31'; $today = date("Y/m/d"); var_dump( $date, $today, (int) $date, (int) $today, $today - $date );
Output for git.master, git.master_jit, rfc.property-hooks
Warning: A non-numeric value encountered in /in/qskMD on line 11 Warning: A non-numeric value encountered in /in/qskMD on line 11 string(10) "1990-12-31" string(10) "2017/07/28" int(1990) int(2017) int(27)

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:
52.59 ms | 1992 KiB | 4 Q