fork(1) download
  1. <?php
  2.  
  3. $tuple = "(12342,43244)";
  4. if (preg_match('~\(([0-9]+)~', $tuple, $m))
  5. {
  6. echo $m[1];
  7. }
Success #stdin #stdout 0.03s 52480KB
stdin
Standard input is empty
stdout
12342