3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class Obj { static public $p = 'Beauty beyond comare ...'; static function showP(){ echo self::p; } } $z[0] = "showP"; Obj::$z[0]();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qvKmM
function name:  (null)
number of ops:  7
compiled vars:  !0 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN_DIM                                               !0, 0
          1        OP_DATA                                                  'showP'
   12     2        FETCH_STATIC_PROP_R          unknown             ~2      'z'
          3        FETCH_DIM_R                                      ~3      ~2, 0
          4        INIT_DYNAMIC_CALL                                        ~3
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class Obj:
Function showp:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qvKmM
function name:  showP
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   FETCH_CLASS_CONSTANT                             ~0      'p'
          1        ECHO                                                     ~0
    8     2      > RETURN                                                   null

End of function showp

End of class Obj.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.46 ms | 1393 KiB | 13 Q