3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emails = array("tcely", "cely@iqnection.com", "cely@tenable.com", "Chris.Ely@gmail.com", "tcely@users.noreply.github.com"); $gh_hash = 'e1072495bf07d013ec5de9f90ad6530d'; echo $gh_hash . "\n"; foreach ($emails as $k => $email) { $md5 = md5( strtolower( trim( $email ) ) ); $sha1 = sha1( strtolower( trim( $email ) ) ); printf('email: %-30s'."=>\n", $email); printf("\t".'https://identicons.github.com/%s.png'."\n", $md5); printf("\t".'https://identicons.github.com/%s.png'."\n", $sha1); }

preferences:
44.65 ms | 405 KiB | 6 Q