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