3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt($a) { $tmp = strtolower(strrev($a)); $tmps = (substr($tmp, 0,4) ^ hexdec('BFF')) ^ hexdec('D77D'); $tmpss = substr($tmp,4); unset($unset_tmp); } define('__FLAG__', 'flag{hidden_flag}'); if(decrypt($_REQUEST['pass']) == 'pwning_the_phpreverse!') { __FLAG__; } ?>
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Warning: Undefined array key "pass" in /in/rR2WZ on line 21 Deprecated: strrev(): Passing null to parameter #1 ($string) of type string is deprecated in /in/rR2WZ on line 4 Fatal error: Uncaught TypeError: Unsupported operand types: string ^ int in /in/rR2WZ:5 Stack trace: #0 /in/rR2WZ(21): decrypt(NULL) #1 {main} thrown in /in/rR2WZ on line 5
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Warning: Undefined array key "pass" in /in/rR2WZ on line 21 Fatal error: Uncaught TypeError: Unsupported operand types: string ^ int in /in/rR2WZ:5 Stack trace: #0 /in/rR2WZ(21): decrypt(NULL) #1 {main} thrown in /in/rR2WZ on line 5
Process exited with code 255.
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Notice: Undefined index: pass in /in/rR2WZ on line 21 Warning: A non-numeric value encountered in /in/rR2WZ on line 5
Output for 7.3.32 - 7.3.33
Warning: A non-numeric value encountered in /in/rR2WZ on line 5
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.33
Notice: Undefined index: pass in /in/rR2WZ on line 21

preferences:
199.29 ms | 402 KiB | 321 Q