3v4l.org

run code in 300+ PHP versions simultaneously
<?php function obfuscatePersonID($personID){ $code = strtr( base_convert($personID, 10, 36), "abcdefghijklmnopqrstuvwxyz", "ghijklmnopqrstuvwxyzabcdef" ); return $code ? $code : false; } echo obfuscatePersonID(199105260617);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0OUtf
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'obfuscatepersonid'
          1        SEND_VAL                                                 199105260617
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Function obfuscatepersonid:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0OUtf
function name:  obfuscatePersonID
number of ops:  18
compiled vars:  !0 = $personID, !1 = $code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'strtr'
          2        INIT_FCALL                                               'base_convert'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 10
          5        SEND_VAL                                                 36
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
          9        SEND_VAL                                                 'ghijklmnopqrstuvwxyzabcdef'
         10        DO_ICALL                                         $3      
         11        ASSIGN                                                   !1, $3
    5    12      > JMPZ                                                     !1, ->15
         13    >   QM_ASSIGN                                        ~5      !1
         14      > JMP                                                      ->16
         15    >   QM_ASSIGN                                        ~5      <false>
         16    > > RETURN                                                   ~5
    6    17*     > RETURN                                                   null

End of function obfuscatepersonid

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.75 ms | 1398 KiB | 18 Q