3v4l.org

run code in 300+ PHP versions simultaneously
<?php class site { const id = '7'; } site::$name = 'lamer'; echo site::$name.':'.site::$id;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BsnTo
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN_STATIC_PROP                                       'name', 'site'
          1        OP_DATA                                                  'lamer'
   10     2        FETCH_STATIC_PROP_R          unknown             ~1      'name'
          3        CONCAT                                           ~2      ~1, '%3A'
          4        FETCH_STATIC_PROP_R          unknown             ~3      'id'
          5        CONCAT                                           ~4      ~2, ~3
          6        ECHO                                                     ~4
          7      > RETURN                                                   1

Class site: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
305.57 ms | 1392 KiB | 14 Q