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; 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); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 39
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 39
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 39
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 39
filename:       /in/lg7Tm
function name:  (null)
number of ops:  41
compiled vars:  !0 = $emails, !1 = $gh_hash, !2 = $email, !3 = $k, !4 = $md5, !5 = $sha1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 'e1072495bf07d013ec5de9f90ad6530d'
    5     2        ECHO                                                     !1
    7     3      > FE_RESET_R                                       $8      !0, ->39
          4    > > FE_FETCH_R                                       ~9      $8, !2, ->39
          5    >   ASSIGN                                                   !3, ~9
    8     6        INIT_FCALL                                               'md5'
          7        INIT_FCALL                                               'strtolower'
          8        INIT_FCALL                                               'trim'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                         $11     
         11        SEND_VAR                                                 $11
         12        DO_ICALL                                         $12     
         13        SEND_VAR                                                 $12
         14        DO_ICALL                                         $13     
         15        ASSIGN                                                   !4, $13
    9    16        INIT_FCALL                                               'sha1'
         17        INIT_FCALL                                               'strtolower'
         18        INIT_FCALL                                               'trim'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                         $15     
         21        SEND_VAR                                                 $15
         22        DO_ICALL                                         $16     
         23        SEND_VAR                                                 $16
         24        DO_ICALL                                         $17     
         25        ASSIGN                                                   !5, $17
   10    26        INIT_FCALL                                               'printf'
         27        SEND_VAL                                                 'email%3A+%25-30s%3D%3E%0A'
         28        SEND_VAR                                                 !2
         29        DO_ICALL                                                 
   11    30        INIT_FCALL                                               'printf'
         31        SEND_VAL                                                 '%09https%3A%2F%2Fidenticons.github.com%2F%25s.png%0A'
         32        SEND_VAR                                                 !4
         33        DO_ICALL                                                 
   12    34        INIT_FCALL                                               'printf'
         35        SEND_VAL                                                 '%09https%3A%2F%2Fidenticons.github.com%2F%25s.png%0A'
         36        SEND_VAR                                                 !5
         37        DO_ICALL                                                 
    7    38      > JMP                                                      ->4
         39    >   FE_FREE                                                  $8
   14    40      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.55 ms | 1400 KiB | 23 Q