fork(6) download
  1. <?php
  2. if (preg_match('/^(?=.{6})(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[\W_])/', 'HalloWord~2012'))
  3. {
  4. print 'YES';
  5. }
  6. else
  7. {
  8. print 'NO';
  9. }
  10. ?>
Success #stdin #stdout 0.02s 13064KB
stdin
Standard input is empty
stdout
YES