3v4l.org

run code in 300+ 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}
number of ops:  15
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        INIT_FCALL                                               'strtr'
          4        FETCH_DIM_R                                      ~2      !0, 1
          5        SEND_VAL                                                 ~2
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $3      
          8        FETCH_DIM_R                                      ~4      !0, 2
          9        CONCAT                                           ~5      $3, ~4
         10        SEND_VAL                                                 ~5
         11        SEND_VAL                                                 2
         12        DO_ICALL                                         $6      
         13      > RETURN                                                   $6
         14*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.03 ms | 1002 KiB | 17 Q