3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public static function testmethod (Test $obj) { } } $string = "I'm a string"; Test::testmethod ($string);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wk3Ng
function name:  (null)
number of ops:  5
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, 'I%27m+a+string'
    7     1        INIT_STATIC_METHOD_CALL                                  'Test', 'testmethod'
          2        SEND_VAR                                                 !0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class Test:
Function testmethod:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wk3Ng
function name:  testmethod
number of ops:  2
compiled vars:  !0 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1      > RETURN                                                   null

End of function testmethod

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.35 ms | 1392 KiB | 13 Q