3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public function bar() { print_r($this); } public static function __callStatic($method, $args) { echo "STATIC\n"; } } test::bar();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L91Hu
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_STATIC_METHOD_CALL                                  'test', 'bar'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class test:
Function bar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L91Hu
function name:  bar
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'print_r'
          1        FETCH_THIS                                       ~0      
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
          4      > RETURN                                                   null

End of function bar

Function __callstatic:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L91Hu
function name:  __callStatic
number of ops:  4
compiled vars:  !0 = $method, !1 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        ECHO                                                     'STATIC%0A'
          3      > RETURN                                                   null

End of function __callstatic

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.6 ms | 1386 KiB | 15 Q