3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyIterator extends \ArrayIterator { } $iterator = new MyIterator(); $serialized = serialize($iterator);echo $serialized; $unserialized = unserialize($serialized);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7pm4c
function name:  (null)
number of ops:  13
compiled vars:  !0 = $iterator, !1 = $serialized, !2 = $unserialized
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $3      'MyIterator'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
   13     3        INIT_FCALL                                               'serialize'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !1, $6
          7        ECHO                                                     !1
   15     8        INIT_FCALL                                               'unserialize'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $8      
         11        ASSIGN                                                   !2, $8
         12      > RETURN                                                   1

Class MyIterator: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.11 ms | 1394 KiB | 17 Q