3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!function_exists('Encoder')){ function Encoder($inputvalue){ $output=array('test1','test2',$inputvalue); for($counter1=0; $counter1<3; $counter1++){ for($counter2=0; $counter2<strlen($output[$counter1]); $counter2++) $output[$counter1][$counter2] = chr(ord($output[$counter1][$counter2])-1); if($counter1==1) $output[2]=$output[0]($output[1]($output[2])); } return $output[2]; } $string1='ABC'; $funct='Encoder'; //calls encoder on "SylOSypNS0gvy08pzSrIBwA" $strin2=$funct('DEF'); $string2(); //calls encoder on string1 and concatenates it with a space an $VPXA $output_2=$string2('',$funct($string1)); //print string1 $string1(); $output_2(); }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function sdrs0() in /in/9t8JQ:14 Stack trace: #0 /in/9t8JQ(27): Encoder('DEF') #1 {main} thrown in /in/9t8JQ on line 14
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:
58.2 ms | 401 KiB | 8 Q