3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a () { } unserialize ( serialize ( new ArrayIterator ) ) [ array () ] -> b = a () ;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PlFZO
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'unserialize'
          1        INIT_FCALL                                               'serialize'
          2        NEW                                              $0      'ArrayIterator'
          3        DO_FCALL                                      0          
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        SEPARATE                                         $3      $3
          9        INIT_FCALL                                               'a'
         10        DO_FCALL                                      0  $6      
         11        FETCH_DIM_W                                      $4      $3, <array>
         12        ASSIGN_OBJ                                               $4, 'b'
         13        OP_DATA                                                  $6
         14      > RETURN                                                   1

Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PlFZO
function name:  a
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > RETURN                                                   null

End of function a

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.36 ms | 1401 KiB | 18 Q