fork download
  1. <?php
  2.  
  3. echo preg_replace('{[\{]}', 'foo', '{ { { { { {');
  4.  
  5. echo preg_replace('[[{]]', 'foo', '{ { { { { {');
Success #stdin #stdout 0.02s 24360KB
stdin
Standard input is empty
stdout
foo foo foo foo foo foofoo foo foo foo foo foo