3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php include('Crypt/AES.php'); $cipher = new Crypt_AES(); // it's cbc by default $cipher->setKeyLength(256); $cipher->setKey('abcdefghijklmnopijklmnopqrstuvwxyz3456'); $size = 10 * 1024; $plaintext = str_repeat('a', $size); echo $cipher->decrypt($cipher->encrypt($plaintext)); ?>
based on QFLJf
Output for 5.3.13
Warning: include(Crypt/AES.php): failed to open stream: No such file or directory in /in/0fc61 on line 2 Warning: include(): Failed opening 'Crypt/AES.php' for inclusion (include_path='.:') in /in/0fc61 on line 2 Fatal error: Class 'Crypt_AES' not found in /in/0fc61 on line 4
Process exited with code 255.