3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decryptPwd($encryptedPwd){ $data = $encryptedPwd; $key = 'secret passphrase to encrypt'; $cipher = "rijndael-256"; $mode = "cbc"; return (string) mcrypt_decrypt( $cipher, substr(md5($key),0,mcrypt_get_key_size($cipher, $mode)), base64_decode($data), $mode, substr(md5($key),0,mcrypt_get_block_size($cipher, $mode)) ); } decryptPwd("ceSiAr7JzY8e/9mSj15ZV1Wu34ECYp+S5EZTpZcFpF4=");
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/GL6B1:9 Stack trace: #0 /in/GL6B1(18): decryptPwd('ceSiAr7JzY8e/9m...') #1 {main} thrown in /in/GL6B1 on line 9
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
34.39 ms | 401 KiB | 8 Q