3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = new ArrayObject(); $t = array($x, $x->getIterator()); $s = serialize($t); $e = unserialize($s);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fATOA
function name:  (null)
number of ops:  17
compiled vars:  !0 = $x, !1 = $t, !2 = $s, !3 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $4      'ArrayObject'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $4
    3     3        INIT_ARRAY                                       ~7      !0
          4        INIT_METHOD_CALL                                         !0, 'getIterator'
          5        DO_FCALL                                      0  $8      
          6        ADD_ARRAY_ELEMENT                                ~7      $8
          7        ASSIGN                                                   !1, ~7
    4     8        INIT_FCALL                                               'serialize'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $10     
         11        ASSIGN                                                   !2, $10
    5    12        INIT_FCALL                                               'unserialize'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                         $12     
         15        ASSIGN                                                   !3, $12
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.33 ms | 1394 KiB | 17 Q