3v4l.org

run code in 300+ PHP versions simultaneously
<?php $out = array('one', 'two', 'three'); echo 'Serialized: '.serialize($out); echo 'Unserialized: '.unserialize(serialize($out));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vufq8
function name:  (null)
number of ops:  15
compiled vars:  !0 = $out
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'serialize'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        CONCAT                                           ~3      'Serialized%3A+', $2
          5        ECHO                                                     ~3
    4     6        INIT_FCALL                                               'unserialize'
          7        INIT_FCALL                                               'serialize'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                         $5      
         12        CONCAT                                           ~6      'Unserialized%3A+', $5
         13        ECHO                                                     ~6
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.79 ms | 939 KiB | 18 Q