3v4l.org

run code in 300+ PHP versions simultaneously
<?php $login = 'abcdefg'; $maskedLogin = substr($login, 0, 3) . str_repeat('*', strelen($login) - 3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EJb1F
function name:  (null)
number of ops:  17
compiled vars:  !0 = $login, !1 = $maskedLogin
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'abcdefg'
    3     1        INIT_FCALL                                               'substr'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 3
          5        DO_ICALL                                         $3      
          6        INIT_FCALL                                               'str_repeat'
          7        SEND_VAL                                                 '%2A'
          8        INIT_FCALL_BY_NAME                                       'strelen'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0  $4      
         11        SUB                                              ~5      $4, 3
         12        SEND_VAL                                                 ~5
         13        DO_ICALL                                         $6      
         14        CONCAT                                           ~7      $3, $6
         15        ASSIGN                                                   !1, ~7
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.28 ms | 1394 KiB | 17 Q