1--TEST-- 2openssl_cipher_key_length() basic test 3--EXTENSIONS-- 4openssl 5--FILE-- 6<?php 7 8var_dump(openssl_cipher_key_length('AES-128-CBC')); 9var_dump(openssl_cipher_key_length('AES-256-CBC')); 10 11?> 12--EXPECT-- 13int(16) 14int(32) 15