3v4l.org

run code in 300+ PHP versions simultaneously
<?php $serialize = serialize(array('x', 'y', 'z')); print_r(unserialize($serialize)); echo unserialize($serialize)[0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cq02X
function name:  (null)
number of ops:  16
compiled vars:  !0 = $serialize
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'serialize'
          1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    4     4        INIT_FCALL                                               'print_r'
          5        INIT_FCALL                                               'unserialize'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'unserialize'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $5      
         13        FETCH_DIM_R                                      ~6      $5, 0
         14        ECHO                                                     ~6
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.38 ms | 1394 KiB | 19 Q