3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emails = array("cely@iqnection.com", "cely@tenable.com", "Chris.Ely@gmail.com"); foreach ($emails as $k => $email) { $hash = md5( strtolower( trim( $email ) ) ); printf('email: %_40s'."\t=>\t".'http://www.gravatar.com/avatar/%s?d=identicon'."\n", $email, $hash); }
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught ValueError: Unknown format specifier "_" in /in/trNsp:6 Stack trace: #0 /in/trNsp(6): printf('email: %_40s\t=>...', 'cely@iqnection....', '68b0a06a22e632a...') #1 {main} thrown in /in/trNsp on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
email: 40s => http://www.gravatar.com/avatar/68b0a06a22e632a4a79264d26d902288?d=identicon email: 40s => http://www.gravatar.com/avatar/70d8b9cda7ec7054357e4fbf24d1085d?d=identicon email: 40s => http://www.gravatar.com/avatar/f327bb42c980cfe05865f0454bd9594b?d=identicon

preferences:
280.07 ms | 405 KiB | 460 Q