<?php
//$template="LEV64W124CRTFG5 Confirmed.You have received Ksh2050.00 from JM MAKAU 0720163077 on 31/5/17 at 12:07 AM New M-PESA balance is Ksh5,0106.00.Pay Bills via M-PESA.";
$template="LEV64W124CRTFG5 confirmed.On 31/5/17 at 12:08 AM Ksh5,0106.00 received from JM MAKAU 254720163077.";
print_r (explode(" ",$template));
?>