3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
<br>
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.0.5
<br>-1