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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.37 ms | 1400 KiB | 23 Q