3v4l.org

run code in 300+ PHP versions simultaneously
<?php function insecureMd5Kdf($message, $raw = false) { $bytes = md5($message, true); $output = ''; for ($i = 0; $i < 16; ++$i) { $int = ord($bytes[$i]) & 127; $output .= pack('C', $int); } if (!$raw) { return bin2hex($output); } return $output; } var_dump(insecureMd5Kdf('apple'));
Output for git.master, git.master_jit, rfc.property-hooks
string(32) "1f38703e274f6c4933631a0c6728157f"

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:
26.46 ms | 405 KiB | 5 Q