fork(1) download
  1. <?php
  2.  
  3. $methods = [
  4. 'AES-128-CBC',
  5. 'AES-128-ECB'
  6. ];
  7.  
  8. foreach ($methods as $method) {
  9. var_dump(openssl_cipher_iv_length($method));
  10. }
Success #stdin #stdout 0.01s 82880KB
stdin
Standard input is empty
stdout
int(16)
int(0)