3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = unserialize('a:2:{s:2:"10";i:1;s:2:"01";i:2;}'); var_dump($a); $a['10'] = 3; $a['01'] = 4; var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rhYQn
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'unserialize'
          1        SEND_VAL                                                 'a%3A2%3A%7Bs%3A2%3A%2210%22%3Bi%3A1%3Bs%3A2%3A%2201%22%3Bi%3A2%3B%7D'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    5     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    7     7        ASSIGN_DIM                                               !0, 10
          8        OP_DATA                                                  3
    8     9        ASSIGN_DIM                                               !0, '01'
         10        OP_DATA                                                  4
   10    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.34 ms | 1394 KiB | 17 Q