3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arRoles = array('user', 'admin'); echo '<pre>', var_dump($arRoles), '</pre>'; echo '<pre>', var_dump((array) $arRoles), '</pre>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k8ClI
function name:  (null)
number of ops:  15
compiled vars:  !0 = $arRoles
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ECHO                                                     '%3Cpre%3E'
          2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        ECHO                                                     $2
          6        ECHO                                                     '%3C%2Fpre%3E'
    7     7        ECHO                                                     '%3Cpre%3E'
          8        INIT_FCALL                                               'var_dump'
          9        CAST                                          7  ~3      !0
         10        SEND_VAL                                                 ~3
         11        DO_ICALL                                         $4      
         12        ECHO                                                     $4
         13        ECHO                                                     '%3C%2Fpre%3E'
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.64 ms | 1394 KiB | 15 Q