3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function decrypt($a) { $tmp_1 = strtolower(strrev($a)); $tmp_2 = (substr($tmp, 0,4) ^ hexdec('BFF')) ^ hexdec('D77D'); $tmp_3 = substr($tmp,4); for($tmp_5=0; $tmp_5 < strlen($tmp_3); $tmp_5++) { } } define('__FLAG__', 'flag{hidden_flag}'); if(decrypt($_REQUEST['pass']) == 'pwning_the_phpreverse!') { __FLAG__; } ?>
based on 5jYYM
Output for 7.1.0 - 7.2.0
Notice: Undefined index: pass in /in/d2gsq on line 24 Notice: Undefined variable: tmp in /in/d2gsq on line 5 Warning: A non-numeric value encountered in /in/d2gsq on line 5 Notice: Undefined variable: tmp in /in/d2gsq on line 6
Output for 5.3.19 - 7.0.20
Notice: Undefined index: pass in /in/d2gsq on line 24 Notice: Undefined variable: tmp in /in/d2gsq on line 5 Notice: Undefined variable: tmp in /in/d2gsq on line 6