3v4l.org

run code in 500+ PHP versions simultaneously
<?php $atcode = '11F5796B61690196'; $sub1 = [ '0' => '2', '1' => '3', '2' => '0', '3' => '1', '4' => '6', '5' => '7', '7' => '5', '8' => 'A', '9' => 'B', 'A' => '8', 'B' => '9', 'C' => 'E', 'D' => 'F', 'E' => 'C', 'F' => 'D' ]; var_export( preg_replace_callback( '/.*(.)(.)/', fn($m) => str_repeat(strtr($m[1], $sub1) . $m[2], 2), $atcode ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9OsSD
function name:  (null)
number of ops:  13
compiled vars:  !0 = $atcode, !1 = $sub1
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '11F5796B61690196'
    4     1        ASSIGN                                                       !1, <array>
   21     2        INIT_FCALL                                                   'var_export'
   22     3        INIT_FCALL                                                   'preg_replace_callback'
   23     4        SEND_VAL                                                     '%2F.%2A%28.%29%28.%29%2F'
   24     5        DECLARE_LAMBDA_FUNCTION                              ~4      [0]
          6        BIND_LEXICAL                                                 ~4, !1
          7        SEND_VAL                                                     ~4
   25     8        SEND_VAR                                                     !0
   22     9        DO_ICALL                                             $5      
   25    10        SEND_VAR                                                     $5
   21    11        DO_ICALL                                                     
   27    12      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9OsSD
function name:  {closure:/in/9OsSD:24}
number of ops:  12
compiled vars:  !0 = $m, !1 = $sub1
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   24     0  E >   RECV                                                 !0      
          1        BIND_STATIC                                                  !1
          2        INIT_FCALL                                                   'str_repeat'
          3        FETCH_DIM_R                                          ~2      !0, 1
          4        FRAMELESS_ICALL_2                strtr               ~3      ~2, !1
          5        FETCH_DIM_R                                          ~4      !0, 2
          6        CONCAT                                               ~5      ~3, ~4
          7        SEND_VAL                                                     ~5
          8        SEND_VAL                                                     2
          9        DO_ICALL                                             $6      
         10      > RETURN                                                       $6
         11*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.6 ms | 1585 KiB | 16 Q