3v4l.org

run code in 300+ PHP versions simultaneously
<?php $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['test'] ??= []; $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['test']['frontend'] ??= 'some frontend'; $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['test']['backend'] ??= 'some backend'; $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['test']['options'] ??= ['defaultLifetime' => 0]; var_dump($GLOBALS['TYPO3_CONF_VARS']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cr3tZ
function name:  (null)
number of ops:  67
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_IS                                         ~0      'TYPO3_CONF_VARS'
          1        FETCH_DIM_IS                                     ~1      ~0, 'SYS'
          2        FETCH_DIM_IS                                     ~2      ~1, 'caching'
          3        FETCH_DIM_IS                                     ~3      ~2, 'cacheConfigurations'
          4        FETCH_DIM_IS                                     ~4      ~3, 'test'
          5        COALESCE                                         ~5      ~4
          6        FETCH_W                      global              $6      'TYPO3_CONF_VARS'
          7        FETCH_DIM_W                                      $7      $6, 'SYS'
          8        FETCH_DIM_W                                      $8      $7, 'caching'
          9        FETCH_DIM_W                                      $9      $8, 'cacheConfigurations'
         10        ASSIGN_DIM                                       ~10     $9, 'test'
         11        OP_DATA                                                  <array>
         12        QM_ASSIGN                                        ~5      ~10
         13        FREE                                                     ~5
    4    14        FETCH_IS                                         ~11     'TYPO3_CONF_VARS'
         15        FETCH_DIM_IS                                     ~12     ~11, 'SYS'
         16        FETCH_DIM_IS                                     ~13     ~12, 'caching'
         17        FETCH_DIM_IS                                     ~14     ~13, 'cacheConfigurations'
         18        FETCH_DIM_IS                                     ~15     ~14, 'test'
         19        FETCH_DIM_IS                                     ~16     ~15, 'frontend'
         20        COALESCE                                         ~17     ~16
         21        FETCH_W                      global              $18     'TYPO3_CONF_VARS'
         22        FETCH_DIM_W                                      $19     $18, 'SYS'
         23        FETCH_DIM_W                                      $20     $19, 'caching'
         24        FETCH_DIM_W                                      $21     $20, 'cacheConfigurations'
         25        FETCH_DIM_W                                      $22     $21, 'test'
         26        ASSIGN_DIM                                       ~23     $22, 'frontend'
         27        OP_DATA                                                  'some+frontend'
         28        QM_ASSIGN                                        ~17     ~23
         29        FREE                                                     ~17
    5    30        FETCH_IS                                         ~24     'TYPO3_CONF_VARS'
         31        FETCH_DIM_IS                                     ~25     ~24, 'SYS'
         32        FETCH_DIM_IS                                     ~26     ~25, 'caching'
         33        FETCH_DIM_IS                                     ~27     ~26, 'cacheConfigurations'
         34        FETCH_DIM_IS                                     ~28     ~27, 'test'
         35        FETCH_DIM_IS                                     ~29     ~28, 'backend'
         36        COALESCE                                         ~30     ~29
         37        FETCH_W                      global              $31     'TYPO3_CONF_VARS'
         38        FETCH_DIM_W                                      $32     $31, 'SYS'
         39        FETCH_DIM_W                                      $33     $32, 'caching'
         40        FETCH_DIM_W                                      $34     $33, 'cacheConfigurations'
         41        FETCH_DIM_W                                      $35     $34, 'test'
         42        ASSIGN_DIM                                       ~36     $35, 'backend'
         43        OP_DATA                                                  'some+backend'
         44        QM_ASSIGN                                        ~30     ~36
         45        FREE                                                     ~30
    6    46        FETCH_IS                                         ~37     'TYPO3_CONF_VARS'
         47        FETCH_DIM_IS                                     ~38     ~37, 'SYS'
         48        FETCH_DIM_IS                                     ~39     ~38, 'caching'
         49        FETCH_DIM_IS                                     ~40     ~39, 'cacheConfigurations'
         50        FETCH_DIM_IS                                     ~41     ~40, 'test'
         51        FETCH_DIM_IS                                     ~42     ~41, 'options'
         52        COALESCE                                         ~43     ~42
         53        FETCH_W                      global              $44     'TYPO3_CONF_VARS'
         54        FETCH_DIM_W                                      $45     $44, 'SYS'
         55        FETCH_DIM_W                                      $46     $45, 'caching'
         56        FETCH_DIM_W                                      $47     $46, 'cacheConfigurations'
         57        FETCH_DIM_W                                      $48     $47, 'test'
         58        ASSIGN_DIM                                       ~49     $48, 'options'
         59        OP_DATA                                                  <array>
         60        QM_ASSIGN                                        ~43     ~49
         61        FREE                                                     ~43
    8    62        INIT_FCALL                                               'var_dump'
         63        FETCH_R                      global              ~50     'TYPO3_CONF_VARS'
         64        SEND_VAL                                                 ~50
         65        DO_ICALL                                                 
         66      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.55 ms | 1450 KiB | 14 Q