3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'system' => [ 'GUI' => array( 'enabled' => true, 'password' => '', ), 'Constants' => array( 'URL_QUERYSTRING' => true, 'ERRORS_TO_EXCEPTIONS' => true, 'DEBUG_MODE' => true, ), 'Benchmark' => array( 'enabled' => false, ), 'Translations' => array( 'db_connection' => 'Default', 'table_name' => array( 'languages' => 'languages', 'translations' => 'translations', ), ), 'Spam' => array( 'honeypot_names' => array( 0 => 'name1', 1 => 'name2', 2 => 'name3', 3 => 'name4', 4 => 'name5', 5 => 'name6', ), ), 'Response' => array( 'supported' => array( 0 => 'text/html', 1 => 'application/json', ), ),] ); function arr(){ global $data; return $data; } arr()['system']['Translations']['table_name']['languages'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wajor
function name:  (null)
number of ops:  9
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   59     1        INIT_FCALL                                               'arr'
          2        DO_FCALL                                      0  $2      
          3        FETCH_DIM_R                                      ~3      $2, 'system'
          4        FETCH_DIM_R                                      ~4      ~3, 'Translations'
          5        FETCH_DIM_R                                      ~5      ~4, 'table_name'
          6        FETCH_DIM_R                                      ~6      ~5, 'languages'
          7        FREE                                                     ~6
          8      > RETURN                                                   1

Function arr:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wajor
function name:  arr
number of ops:  3
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   53     0  E >   BIND_GLOBAL                                              !0, 'data'
   55     1      > RETURN                                                   !0
   56     2*     > RETURN                                                   null

End of function arr

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.16 ms | 1401 KiB | 14 Q