3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('FRAMEWORK_PATH', 'aaaaa/'); class A { static $a=[ 'ContextProcessors.i18n', 'ContextProcessors.tz', 'ContextProcessors.request', 'ContextProcessors.base_url', ]; const b = 9; } class B extends A { static $a=1; const b = 2; } var_dump(A::$a); var_dump(A::b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GpjNK
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'FRAMEWORK_PATH'
          2        SEND_VAL                                                 'aaaaa%2F'
          3        DO_ICALL                                                 
   29     4        INIT_FCALL                                               'var_dump'
          5        FETCH_STATIC_PROP_R          unknown             ~1      'a'
          6        SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
   30     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAL                                                 9
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Class A: [no user functions]
Class B: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.58 ms | 1394 KiB | 17 Q