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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
223.22 ms | 946 KiB | 24 Q