fork(2) download
  1. <?php
  2. $text='Говно! залупа пенис? хер. давалка ';
  3. $regexp='/[.!?/u';
  4. $parts=preg_split($regexp, $text, 0, PREG_SPLIT_NO_EMPTY);
  5. var_dump($parts);
  6. ?>
  7.  
  8. // your code goes here
Success #stdin #stdout #stderr 0.02s 52472KB
stdin
Standard input is empty
stdout
bool(false)

// your code goes here
stderr
PHP Warning:  preg_split(): Compilation failed: missing terminating ] for character class at offset 4 in /home/Bo1kal/prog.php on line 4