3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function decrypt($a) { $tmp_1 = strtolower(strrev($a)); $tmp_2 = (substr($tmp_1, 0,4) ^ hexdec('BFF')) ^ hexdec('D77D'); $tmp_3 = substr($tmp_1,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 d2gsq
Output for 7.1.0 - 7.2.0
Notice: Undefined index: pass in /in/X991o on line 24 Warning: A non-numeric value encountered in /in/X991o on line 5
Output for 5.3.19 - 7.0.20
Notice: Undefined index: pass in /in/X991o on line 24