3v4l.org

run code in 300+ PHP versions simultaneously
<?php $alpha = range('A', 'Z'); $ascii = array_map(function($_) { return $_ + (1 << 1 << 1 << 1 << 1 << 1 << 1); }, range(1, 26)); $alpha_vars = array_map(function($_) { return "$$_"; }, $alpha); $ascii_var_list = join(',', $alpha_vars); ("list($ascii_var_list) = \$ascii;"); $sp = 32; $_='_'; $ss='ss'; //$hb=$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_. //$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss; // I think I just heard the PHP parser cry. ## We're almost done. Just gotta decrypt my data, prepare my formatting, yadda yadda... $decrypted_data = str_rot13("UNCCL OVEGUQNL WBUA CVYR"); echo "1"; $hb=""; for($hb=""; count($hb)/3 < count($decrypted_data); $hb.=$_.$ss); $john_purrier_rocks = str_split($decrypted_data); $brandon_philips_kicks_ass = array_map(function($_) { return ($_ === ' ') ? '$sp' : "\$$_"; }, $john_purrier_rocks); $rabble_makes_me_moist = join(',', $brandon_philips_kicks_ass); ("\$rabble_makes_me_moist = array($rabble_makes_me_moist);"); $appfog_owns = array_map('chr', $rabble_makes_me_moist); array_unshift($appfog_owns, str_replace('_s', '%', $hb)); $happy_birthday = call_user_func_array('sprintf', $appfog_owns); echo $happy_birthday;

preferences:
43.51 ms | 402 KiB | 5 Q