3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt($str, $key) { $iv = substr( md5("hacker",true), 0, 8 ); return mcrypt_decrypt( MCRYPT_BLOWFISH, $key, $str, MCRYPT_MODE_CBC, $iv ); } $Validation = "4/lOF/4ZMmdP"; $msg = $text['felicitation'].decrypt(base64_decode($Validation),base64_encode($key)); echo "Le flag est: ".$msg; ?>
Output for git.master, git.master_jit
Warning: Undefined variable $text in /in/5dqYH on line 8 Warning: Trying to access array offset on value of type null in /in/5dqYH on line 8 Warning: Undefined variable $key in /in/5dqYH on line 8 Deprecated: base64_encode(): Passing null to parameter #1 ($string) of type string is deprecated in /in/5dqYH on line 8 Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/5dqYH:4 Stack trace: #0 /in/5dqYH(8): decrypt('\xE3\xF9N\x17\xFE\x192gO', '') #1 {main} thrown in /in/5dqYH on line 4
Process exited with code 255.
Output for rfc.property-hooks
Warning: Undefined variable $text in /in/5dqYH on line 8 Warning: Trying to access array offset on null in /in/5dqYH on line 8 Warning: Undefined variable $key in /in/5dqYH on line 8 Deprecated: base64_encode(): Passing null to parameter #1 ($string) of type string is deprecated in /in/5dqYH on line 8 Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/5dqYH:4 Stack trace: #0 /in/5dqYH(8): decrypt('\xE3\xF9N\x17\xFE\x192gO', '') #1 {main} thrown in /in/5dqYH on line 4
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:
66.19 ms | 401 KiB | 8 Q