3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'a:3:{i:0;s:31:"sebastian.freytag@oddity.agency";i:1;s:27:"benjamin.graf@oddity.agency";i:2;s:23:"frank.legeland@xing.com";}'; $array = unserialize($string); $array[] = 'ek_admin'; var_dump($array); echo serialize($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lUYrC
function name:  (null)
number of ops:  15
compiled vars:  !0 = $string, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a%3A3%3A%7Bi%3A0%3Bs%3A31%3A%22sebastian.freytag%40oddity.agency%22%3Bi%3A1%3Bs%3A27%3A%22benjamin.graf%40oddity.agency%22%3Bi%3A2%3Bs%3A23%3A%22frank.legeland%40xing.com%22%3B%7D'
    5     1        INIT_FCALL                                               'unserialize'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    6     5        ASSIGN_DIM                                               !1
          6        OP_DATA                                                  'ek_admin'
    8     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
   10    10        INIT_FCALL                                               'serialize'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $7      
         13        ECHO                                                     $7
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.26 ms | 1394 KiB | 19 Q