3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "thisismypassword"; $salt = "SaltyMotherFucker"; // Our hashing method: $hash = md5($salt . ":" . $password); echo "Our's: $hash\n"; // Hmac - sha1 $hash = hash_hmac('sha1', hash_hmac('sha256',$password,$salt), $salt); echo "Hmac-sha1: $hash";
Output for git.master, git.master_jit, rfc.property-hooks
Our's: deb5629ffa2c90112b99d79202e3cc74 Hmac-sha1: af531c1a9c96c7e3f0bced7572603d8a7c2bd8ea

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