3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vars = array( 'implode', 'xhr', '%url', 'init', 'setopt', 'exec', ' lose', 'strtoupper', 'strrev', 'opt', 'timeout', 'refsnartnruter', '_', 'pr2g' . '_replace', 'pr4g' . '_split', 'absz64_dfcodp', null, 'mixed', 1, 2, 3, 5, 7, 11, 13, 17, 19, 23 ); $vars[1][0] = $vars[2][0] = $vars[6][0] = 'c'; $vars[15][0] = $vars[15][1]; $vars[15][1] = $vars[11][5]; echo unserialize(serialize($vars)); die();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/XRgEj
function name:  (null)
number of ops:  29
compiled vars:  !0 = $vars
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   32     1        FETCH_DIM_W                                      $6      !0, 6
          2        ASSIGN_DIM                                       ~7      $6, 0
          3        OP_DATA                                                  'c'
          4        FETCH_DIM_W                                      $4      !0, 2
          5        ASSIGN_DIM                                       ~5      $4, 0
          6        OP_DATA                                                  ~7
          7        FETCH_DIM_W                                      $2      !0, 1
          8        ASSIGN_DIM                                               $2, 0
          9        OP_DATA                                                  ~5
   33    10        FETCH_DIM_R                                      ~10     !0, 15
         11        FETCH_DIM_R                                      ~11     ~10, 1
         12        FETCH_DIM_W                                      $8      !0, 15
         13        ASSIGN_DIM                                               $8, 0
         14        OP_DATA                                                  ~11
   34    15        FETCH_DIM_R                                      ~14     !0, 11
         16        FETCH_DIM_R                                      ~15     ~14, 5
         17        FETCH_DIM_W                                      $12     !0, 15
         18        ASSIGN_DIM                                               $12, 1
         19        OP_DATA                                                  ~15
   37    20        INIT_FCALL                                               'unserialize'
         21        INIT_FCALL                                               'serialize'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                         $16     
         24        SEND_VAR                                                 $16
         25        DO_ICALL                                         $17     
         26        ECHO                                                     $17
   38    27      > EXIT                                                     
         28*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.17 ms | 1395 KiB | 17 Q