fork(2) download
  1. <?php
  2.  
  3. $text = '<img src="/d/349822-2/">';
  4. echo $text, PHP_EOL;
  5. '/\d{3,}/',
  6. function ($matches) {
  7. return $matches[0] + 2;
  8. },
  9. $text
  10. );
Success #stdin #stdout 0.02s 52472KB
stdin
Standard input is empty
stdout
<img src="/d/349822-2/">
<img src="/d/349824-2/">