PageRenderTime 45ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/demos/Operators/Xor.php

http://orionphp.googlecode.com/
PHP | 12 lines | 9 code | 3 blank | 0 comment | 0 complexity | 79a08cd807c0b1171301e76b781a089f MD5 | raw file
Possible License(s): MIT
  1. print('Start...');
  2. sleep(1);
  3. $d = 'abc';
  4. print("$d = '".$d."'");
  5. sleep(1);
  6. print('"to xor crypt... key = 5"');
  7. sleep(1);
  8. $result = $d ^ 5;
  9. print( '$result = $d ^ 5 = '.$result );