3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtr(base_convert($entity->getId(), 10, 20), '0123456789abcdefghij', '7TDC34LHNKQJ89RXMSFP');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6dAWd
function name:  (null)
number of ops:  14
compiled vars:  !0 = $entity
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtr'
          1        INIT_FCALL                                               'base_convert'
          2        INIT_METHOD_CALL                                         !0, 'getId'
          3        DO_FCALL                                      0  $1      
          4        SEND_VAR                                                 $1
          5        SEND_VAL                                                 10
          6        SEND_VAL                                                 20
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        SEND_VAL                                                 '0123456789abcdefghij'
         10        SEND_VAL                                                 '7TDC34LHNKQJ89RXMSFP'
         11        DO_ICALL                                         $3      
         12        ECHO                                                     $3
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.22 ms | 1398 KiB | 17 Q