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";i:1;}i:1;R:3;}'; $x = unserialize($x); var_dump($x);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/03oFa
function name:  (null)
number of ops:  9
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%3Bi%3A1%3B%7Di%3A1%3BR%3A3%3B%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        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.24 ms | 1385 KiB | 17 Q