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"); $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/UL2TU
function name:  (null)
number of ops:  23
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                                                   !2, $6
    8     6        INIT_FCALL                                               'serialize'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $8      
          9        ASSIGN                                                   !3, $8
   10    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'unserialize'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                         $10     
         14        SEND_VAR                                                 $10
         15        DO_ICALL                                                 
   11    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'unserialize'
         18        SEND_VAR                                                 !3
         19        DO_ICALL                                         $12     
         20        SEND_VAR                                                 $12
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.34 ms | 1395 KiB | 19 Q