3v4l.org

run code in 500+ PHP versions simultaneously
<?php const FOO = [ 'apples' => 3, 'bananas' => 4 ]; var_dump(FOO);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZFJWA
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CONST                                                'FOO', <array>
    7     1        INIT_FCALL                                                   'var_dump'
          2        FETCH_CONSTANT                                       ~0      'FOO'
          3        SEND_VAL                                                     ~0
          4        DO_ICALL                                                     
          5      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
148.5 ms | 2933 KiB | 14 Q