3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.12 ms | 1395 KiB | 19 Q