3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.76 ms | 1394 KiB | 19 Q