3v4l.org

run code in 300+ PHP versions simultaneously
<?php const FOO = 1+2; $foo = ['blah' => [ 'bloop' => 1+ 2]]; class foo { //private $bar = ['blah' => [ 'bloop' => 1+ 2]]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fOcM1
function name:  (null)
number of ops:  3
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_CONST                                            'FOO', 3
    3     1        ASSIGN                                                   !0, <array>
    7     2      > RETURN                                                   1

Class foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.89 ms | 1392 KiB | 13 Q