fork(2) download
  1. <?php
  2.  
  3. echo preg_replace('~^(\S+)\s+(\S+)$~', '<b>$1</b><i>$2</i>', '2018-07-09 13:25:18');
Success #stdin #stdout 0.02s 23848KB
stdin
Standard input is empty
stdout
<b>2018-07-09</b><i>13:25:18</i>