3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'O:7:"phpinfo":0:{}'; $obj = unserialize($str); var_dump($obj); var_export($obj); //eval('$str = ' . var_export($obj, true) . ';');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TeIMK
function name:  (null)
number of ops:  12
compiled vars:  !0 = $str, !1 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'O%3A7%3A%22phpinfo%22%3A0%3A%7B%7D'
    3     1        INIT_FCALL                                               'unserialize'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'var_export'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
    7    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.42 ms | 1394 KiB | 19 Q