3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait foo { }; interface baz { } class bar implements baz { use foo; static function woo($int) { } } bar::woo(1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vsW6t
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   DECLARE_CLASS                                            'bar'
   22     1        INIT_STATIC_METHOD_CALL                                  'bar', 'woo'
          2        SEND_VAL_EX                                              1
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class foo: [no user functions]
Class baz: [no user functions]
Class bar:
Function woo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vsW6t
function name:  woo
number of ops:  2
compiled vars:  !0 = $int
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV                                             !0      
   18     1      > RETURN                                                   null

End of function woo

End of class bar.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.43 ms | 1392 KiB | 13 Q