3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $newDate2 = '03/31/2014'; ?> <form name='RegForm' method='GET'> <input type="date" name="sdate" id="sdate" value="<?php echo $newDate2; ?>" required> </form>
Output for 4.3.0 - 7.1.0
<form name='RegForm' method='GET'> <input type="date" name="sdate" id="sdate" value="03/31/2014" required> </form>