3v4l.org

run code in 500+ PHP versions simultaneously
<?php class x { const int|string A=1, B='abc'; const int|string C = PHP_OS === 'win' ? 0 : 'not win'; } echo strlen(x::B);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ElUNU
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    9     0  E >   ECHO                                                         3
          1      > RETURN                                                       1

Class x: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.18 ms | 1343 KiB | 13 Q