3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oo=unserialize('O:6:"person":2:{s:4:"name";s:5:"zhang";s:3:"age";i:23;}'); var_dump($oo);var_dump($oo->age); $arr=array(8);echo $arr[8];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OSP9X
function name:  (null)
number of ops:  15
compiled vars:  !0 = $oo, !1 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'unserialize'
          1        SEND_VAL                                                 'O%3A6%3A%22person%22%3A2%3A%7Bs%3A4%3A%22name%22%3Bs%3A5%3A%22zhang%22%3Bs%3A3%3A%22age%22%3Bi%3A23%3B%7D'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
          7        INIT_FCALL                                               'var_dump'
          8        FETCH_OBJ_R                                      ~5      !0, 'age'
          9        SEND_VAL                                                 ~5
         10        DO_ICALL                                                 
    5    11        ASSIGN                                                   !1, <array>
         12        FETCH_DIM_R                                      ~8      !1, 8
         13        ECHO                                                     ~8
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.72 ms | 1394 KiB | 17 Q