3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = '2711.1966'; if (!empty($value) || (strtotime($value) > 0) ) { //$bdate = date_format(date_create($value), "d.m.Y"); //echo $bdate; echo '<br>' . strtotime($value); } ?>
based on 2qNOe
Output for 5.1.0 - 7.2.0
<br>
Output for 4.3.0 - 5.0.5
<br>-1