3v4l.org

run code in 300+ PHP versions simultaneously
<?php $res = "a:1:{s:7:\"'allow'\";s:1:\"1\";}"; $res = unserialize($res); echo $res['allow'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bJf8o
function name:  (null)
number of ops:  8
compiled vars:  !0 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a%3A1%3A%7Bs%3A7%3A%22%27allow%27%22%3Bs%3A1%3A%221%22%3B%7D'
    4     1        INIT_FCALL                                               'unserialize'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    5     5        FETCH_DIM_R                                      ~4      !0, 'allow'
          6        ECHO                                                     ~4
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.23 ms | 1394 KiB | 15 Q