3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo solve("360e54168a1a32a40018329abcd98abf5af5"); function solve(string $quest):string{ $randTab=explode("-",$quest); if(count($randTab)!==8){ throw new \LogicException("not 8 randTab's (".count($randTab).")"); } foreach($randTab as $i=>$wut){ if(!is_numeric($wut)){ throw new \LogicException("randTab {$i} is not numeric! wtf?"); } } $goodSum=$randTab[0]*$randTab[0]*11+$randTab[1]*121+$randTab[2]*$randTab[1]*27+$randTab[3]*23+$randTab[4]*15+$randTab[5]*$randTab[6]*$randTab[7]*11-$randTab[3]*($randTab[5]+$randTab[4]); $goodSum%=100000000; $buf2=hash("md5",(string)$goodSum,false); return $buf2; }
Output for git.master_jit, git.master
Fatal error: Uncaught LogicException: not 8 randTab's (1) in /in/tC3aT:8 Stack trace: #0 /in/tC3aT(2): solve('360e54168a1a32a...') #1 {main} thrown in /in/tC3aT on line 8
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:
29.37 ms | 405 KiB | 5 Q