fork download
  1. <?php
  2.  
  3. $num = (int)("4:44");
  4. var_dump ($num);
Success #stdin #stdout 0.02s 23688KB
stdin
Standard input is empty
stdout
int(4)