3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function decrypt($a) { $tmp = strtolower(strrev($a)); $tmps = hexdec(substr($tmp,0, 4)) ^ hexdec('BFF') ^ hexdec('D77D'); } define('__FLAG__', 'flag{hidden_flag}'); if(decrypt($_REQUEST['pass']) == 'pwning_the_phpreverse!') { __FLAG__; } ?>
based on m7euI
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.2.6
Notice: Undefined index: pass in /in/gdTmc on line 19
Output for hhvm-3.15.4
Notice: Undefined index: pass in /in/gdTmc on line 19 Warning: strrev() expects parameter 1 to be string, null given in /in/gdTmc on line 4 Warning: strtolower() expects parameter 1 to be string, null given in /in/gdTmc on line 4 Warning: substr() expects parameter 1 to be string, null given in /in/gdTmc on line 5