3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 'a:2:{i:0;O:9:"exception":1:{s:17:"'."\0".'Exception'."\0".'string";O:9:"exception":1:{s:17:"'."\0".'Exception'."\0".'string";r:2;}}i:1;a:2:{i:0;R:3;i:1;R:4;}}'; $x = unserialize($x); var_dump($x[1][0]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k83Ij
function name:  (null)
number of ops:  11
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a%3A2%3A%7Bi%3A0%3BO%3A9%3A%22exception%22%3A1%3A%7Bs%3A17%3A%22%00Exception%00string%22%3BO%3A9%3A%22exception%22%3A1%3A%7Bs%3A17%3A%22%00Exception%00string%22%3Br%3A2%3B%7D%7Di%3A1%3Ba%3A2%3A%7Bi%3A0%3BR%3A3%3Bi%3A1%3BR%3A4%3B%7D%7D'
    4     1        INIT_FCALL                                               'unserialize'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    6     5        INIT_FCALL                                               'var_dump'
          6        FETCH_DIM_R                                      ~4      !0, 1
          7        FETCH_DIM_R                                      ~5      ~4, 0
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.66 ms | 1394 KiB | 17 Q