<?php $str1= '082307'; echo substr(chunk_split($str1, 2, ':')); ?> - See more at: http://www.w3resource.com/php-exercises/php-string-exercises.php#sthash.bzfnf2JW.dpuf
You have javascript disabled. You will not be able to edit any code.