fork(1) download
  1. <?php
  2.  
  3. $text = "0abc123";
  4. preg_match('/[a-z]/i', $text, $m, PREG_OFFSET_CAPTURE);
  5. echo $m[0][1];
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
1