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; ?>
Output for git.master, git.master_jit, rfc.property-hooks
1 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /in/626Rf:26 Stack trace: #0 {main} thrown in /in/626Rf on line 26
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
67.78 ms | 401 KiB | 8 Q