3v4l.org

run code in 300+ PHP versions simultaneously
<?php $permissions = array( 'view_entry' => array( 'users' => array( ), 'groups' => array( ), 'inherit' => true ), 'edit_entry' => array( 'users' => array( ), 'groups' => array( 'LCTCS Admins' => true ), 'inherit' => false ), 'edit_perm' => array( 'users' => array( ), 'groups' => array( ), 'inherit' => false ), 'view_page' => array( 'users' => array( ), 'groups' => array( '*' => true ), 'inherit' => true ) ); echo serialize($permissions['view_entry']); echo serialize($permissions['edit_entry']); echo serialize($permissions['edit_perm']); echo serialize($permissions['view_page']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rcp40
function name:  (null)
number of ops:  22
compiled vars:  !0 = $permissions
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   36     1        INIT_FCALL                                               'serialize'
          2        FETCH_DIM_R                                      ~2      !0, 'view_entry'
          3        SEND_VAL                                                 ~2
          4        DO_ICALL                                         $3      
          5        ECHO                                                     $3
   37     6        INIT_FCALL                                               'serialize'
          7        FETCH_DIM_R                                      ~4      !0, 'edit_entry'
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                         $5      
         10        ECHO                                                     $5
   38    11        INIT_FCALL                                               'serialize'
         12        FETCH_DIM_R                                      ~6      !0, 'edit_perm'
         13        SEND_VAL                                                 ~6
         14        DO_ICALL                                         $7      
         15        ECHO                                                     $7
   39    16        INIT_FCALL                                               'serialize'
         17        FETCH_DIM_R                                      ~8      !0, 'view_page'
         18        SEND_VAL                                                 ~8
         19        DO_ICALL                                         $9      
         20        ECHO                                                     $9
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.29 ms | 1399 KiB | 16 Q