3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace ns01 { class cl01 { const ONE = 1; const ONE2 = 1 >> 16; } } namespace ns02 { class cl02 { const TWO = \ns01\cl01::ONE; function test($tmp = \ns01\cl01::ONE) { } } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6chBj
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E > > RETURN                                                   1

Class ns01\cl01: [no user functions]
Class ns02\cl02:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6chBj
function name:  test
number of ops:  2
compiled vars:  !0 = $tmp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   RECV_INIT                                        !0      <const ast>
   16     1      > RETURN                                                   null

End of function test

End of class ns02\cl02.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.94 ms | 1392 KiB | 13 Q