3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "{2}{A2}{A}{A}{X}"; $str = explode("{", str_replace(["{", "}"], ["", "{"], $str)); print_r($str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fo7et
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '%7B2%7D%7BA2%7D%7BA%7D%7BA%7D%7BX%7D'
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%7B'
          3        INIT_FCALL                                               'str_replace'
          4        SEND_VAL                                                 <array>
          5        SEND_VAL                                                 <array>
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                         $3      
         10        ASSIGN                                                   !0, $3
    6    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.37 ms | 967 KiB | 16 Q