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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.43 ms | 1400 KiB | 23 Q