3v4l.org

run code in 300+ PHP versions simultaneously
<?php function removeExtraCharacters($key) { $str = ""; $i = 0; while ($i < strlen($key)) { if (strpos($str, $key[$i]) === false) { $str .= $key[$i]; } $i++; } return $str; } function saveDataFormatMessage($data,$key) { $i = 0; $key = removeExtraCharacters($key); $str = $data.""; $rtn = ""; while ($i < strlen($str)) { $char = $str[$i]; echo $char." - ".intval($char)."\n"; $rtn .= substr($key,intval($char),1); $i++; } return $rtn; } echo saveDataFormatMessage(985651278,md5(""))."\n";
Output for git.master, git.master_jit, rfc.property-hooks
9 - 9 8 - 8 5 - 5 6 - 6 5 - 5 1 - 1 2 - 2 7 - 7 8 - 8 2b9f9410b

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:
40.51 ms | 401 KiB | 8 Q