fork download
  1. <?php
  2.  
  3. var_dump(substr("100041", 1, 4));
  4.  
Success #stdin #stdout 0.01s 82560KB
stdin
Standard input is empty
stdout
string(4) "0004"