3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_content = mb_decode_numericentity( str_replace( array('&#60;', '&#62;', '&#34;'), array('&lt;', '&gt;', '&quot;'), preg_replace_callback( '/&#\Kx([0-9a-f]++)(?=;)/i', function ($matches) { return hexdec($matches[1]); }, $_content ) ), array(0x0021, 0x007E, 0x0000, 0xFFFF), INT_ENC );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J9GJt
function name:  (null)
number of ops:  19
compiled vars:  !0 = $_content
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mb_decode_numericentity'
    3     1        INIT_FCALL                                               'str_replace'
    4     2        SEND_VAL                                                 <array>
    5     3        SEND_VAL                                                 <array>
    6     4        INIT_FCALL                                               'preg_replace_callback'
    7     5        SEND_VAL                                                 '%2F%26%23%5CKx%28%5B0-9a-f%5D%2B%2B%29%28%3F%3D%3B%29%2Fi'
    8     6        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FJ9GJt%3A8%240'
   10     7        SEND_VAL                                                 ~1
   11     8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
   14    13        SEND_VAL                                                 <array>
   15    14        FETCH_CONSTANT                                   ~4      'INT_ENC'
         15        SEND_VAL                                                 ~4
         16        DO_ICALL                                         $5      
    2    17        ASSIGN                                                   !0, $5
   16    18      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FJ9GJt%3A8%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J9GJt
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
    9     1        INIT_FCALL                                               'hexdec'
          2        FETCH_DIM_R                                      ~1      !0, 1
          3        SEND_VAL                                                 ~1
          4        DO_ICALL                                         $2      
          5      > RETURN                                                   $2
   10     6*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FJ9GJt%3A8%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.9 ms | 1396 KiB | 21 Q