3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; #[Blah] function doit() { echo __FUNCTION__, "\n"; } echo doit::MY_CONSTANT, "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PMf7H
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   FETCH_CLASS_CONSTANT                             ~0      'foo%5Cdoit', 'MY_CONSTANT'
          1        ECHO                                                     ~0
          2        ECHO                                                     '%0A'
          3      > RETURN                                                   1

Function foo%5Cdoit:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PMf7H
function name:  foo\doit
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'foo%5Cdoit'
          1        ECHO                                                     '%0A'
          2      > RETURN                                                   null

End of function foo%5Cdoit

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
11.16 ms | 410 KiB | 7 Q