3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Bob Jenkins' One-At-A-Time hashing algorithm. function jenkins_hash($key) { $key = (string)$key; $len = strlen($key); for($hash = $i = 0; $i < $len; ++$i) { $hash += ord($key[$i]); $hash += ($hash << 10); $hash ^= ($hash >> 6); } $hash += ($hash << 3); $hash ^= ($hash >> 11); $hash += ($hash << 15); return str_pad(dechex($hash),16,0,STR_PAD_LEFT); } echo jenkins_hash("3v4l.org is an online shell that allows you to evaluate (hence 3v4l) your code on my server.");
based on MY3LF
Output for 7.1.0
a737b639aa851800
Output for 4.3.0 - 5.0.1, 5.0.3 - 7.0.14
7b960d6b63cc1cf6
Output for 5.0.2
51c7d4eef862bb2a