3v4l.org

run code in 300+ PHP versions simultaneously
<?php $created = '2017-12-31 23:59:00'; $splitBySpace = explode(' ', $created); if (isset($splitBySpace[0])) { $splitByLine = explode('-', $splitBySpace[0]); if (isset($splitByLine[0]) && isset($splitByLine[1]) && isset($splitByLine[2])) { if (checkdate($splitByLine[1], $splitByLine[2], $splitByLine[0])) { echo 'true'; } } } echo 'false'; //var_dump(checkdate('2018-04-04'));
Output for git.master, git.master_jit, rfc.property-hooks
truefalse

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:
36.29 ms | 401 KiB | 8 Q