3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); $null = null; $null[42] = 'foobar'; var_dump($null);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q1pH2
function name:  (null)
number of ops:  10
compiled vars:  !0 = $null
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    2     3        ASSIGN                                                   !0, null
    3     4        ASSIGN_DIM                                               !0, 42
          5        OP_DATA                                                  'foobar'
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.55 ms | 1394 KiB | 17 Q