3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Email { public static $CHARSET; protected function __autoload() { self::$CHARSET = 'UTF8'; } } var_dump(Email::$CHARSET);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kF1fs
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'var_dump'
          1        FETCH_STATIC_PROP_R          global lock         ~0      'CHARSET'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
          4      > RETURN                                                   1

Class Email:
Function __autoload:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kF1fs
function name:  __autoload
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN_STATIC_PROP                                       'CHARSET'
          1        OP_DATA                                                  'UTF8'
    8     2      > RETURN                                                   null

End of function __autoload

End of class Email.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.13 ms | 1385 KiB | 15 Q