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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.79 ms | 1446 KiB | 18 Q