fork download
  1. <?php
  2.  
  3. $tekst = "looooool";
  4. if (preg_match("/(.)\1/i", $tekst))
  5. echo "dziala";
  6. else
  7. echo "nie dziala";
  8.  
  9. ?>
Success #stdin #stdout 0.01s 24144KB
stdin
Standard input is empty
stdout
nie dziala