3v4l.org

run code in 300+ PHP versions simultaneously
<?php function pkcs7_pad($data, $size) { $length = $size - strlen($data) % $size; return $data . str_repeat(chr($length), $length); } $encrypted = "AWPNfurpnpe0WInMxw=="; $key ='5R3ylIdJ46Z8hT+2rf0z49PaNWs1x5vdAmfEcsi0OEc='; $iv = '\\/LOPJKsZxW\\/Qp1UXfHV\\/ig=='; echo 'output'. openssl_decrypt (base64_decode($encrypted) , 'aes-256-cbc' , base64_decode($key) , 0 , base64_decode($iv) ); ?>
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught Error: Call to undefined function openssl_decrypt() in /in/pP6Kv:14 Stack trace: #0 {main} thrown in /in/pP6Kv on line 14
Process exited with code 255.

preferences:
201.95 ms | 403 KiB | 211 Q