3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = explode("/",'09/28/2007'); for($i=0;$i<2;$i++){ if($date[$i] < 10){ $date[$i] = '0'.$date[$i]; } } // echo $date[2].$date[0].$date[1]; echo strlen('000');
based on P08K0
Output for 4.3.0 - 7.1.0
3