3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('ASSETS'.PUBLIC_PATH,[ 'css' => 'css/', 'js' => 'js/', 'img' => 'img/', ]); var_dump(ASSETS[1]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nD8sI
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        FETCH_CONSTANT                                   ~0      'PUBLIC_PATH'
          2        CONCAT                                           ~1      'ASSETS', ~0
          3        SEND_VAL                                                 ~1
    4     4        SEND_VAL                                                 <array>
          5        DO_ICALL                                                 
    9     6        INIT_FCALL                                               'var_dump'
          7        FETCH_CONSTANT                                   ~3      'ASSETS'
          8        FETCH_DIM_R                                      ~4      ~3, 1
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
260.4 ms | 1394 KiB | 18 Q