3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { const a = __FILE__; const b = __DIR__; } echo X::__DIR__;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JX9fN
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   FETCH_CLASS_CONSTANT                             ~0      'X', '__DIR__'
          1        ECHO                                                     ~0
          2      > RETURN                                                   1

Class X: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.56 ms | 1396 KiB | 13 Q