3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Settings { const STRING = 'mycadena'; public static $INT = 123; public static $FLOAT = 5.87; public static $LANG = array ( 0 => 'a', 1 => 'b', ); public static $CONCATENATE = 'C:\wamp\www\settings\5.87'; public static $CONCATENAT2 = 'C:\wamp\www\settings\b'; function __get($name) { echo 'aa'; } } echo (new Settings)->$INT;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S8HAb
function name:  (null)
number of ops:  5
compiled vars:  !0 = $INT
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   26     0  E >   NEW                                              $1      'Settings'
          1        DO_FCALL                                      0          
          2        FETCH_OBJ_R                                      ~3      $1, !0
          3        ECHO                                                     ~3
          4      > RETURN                                                   1

Class Settings:
Function __get:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S8HAb
function name:  __get
number of ops:  3
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   RECV                                             !0      
   19     1        ECHO                                                     'aa'
   20     2      > RETURN                                                   null

End of function __get

End of class Settings.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.88 ms | 1384 KiB | 13 Q