3v4l.org

run code in 300+ PHP versions simultaneously
<?php $piyo = Hoge::$array; $piyo[] = 1; class Hoge { const ZERO = 0; public static $array = array(self::ZERO => 'hoge'); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d8nBF
function name:  (null)
number of ops:  5
compiled vars:  !0 = $piyo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_STATIC_PROP_R          unknown             ~1      'array'
          1        ASSIGN                                                   !0, ~1
    4     2        ASSIGN_DIM                                               !0
          3        OP_DATA                                                  1
   10     4      > RETURN                                                   1

Class Hoge: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.59 ms | 1392 KiB | 13 Q