3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface CommerceLicenseBillingUsageGroupNamesInterface { public static function usageGroupNames(); } class TestLicense implements CommerceLicenseBillingUsageGroupNamesInterface { public static function usageGroupNames() { return array( 'test_group' => array( 'title' => 'Test Group', ), ); } } $l = new TestLicense(); echo print_r($l->usageGroupNames(), TRUE);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FCppr
function name:  (null)
number of ops:  12
compiled vars:  !0 = $l
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'testlicense'
   17     1        NEW                                              $1      'TestLicense'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
   18     4        INIT_FCALL                                               'print_r'
          5        INIT_METHOD_CALL                                         !0, 'usageGroupNames'
          6        DO_FCALL                                      0  $4      
          7        SEND_VAR                                                 $4
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                         $5      
         10        ECHO                                                     $5
         11      > RETURN                                                   1

Class CommerceLicenseBillingUsageGroupNamesInterface:
Function usagegroupnames:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FCppr
function name:  usageGroupNames
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                   null

End of function usagegroupnames

End of class CommerceLicenseBillingUsageGroupNamesInterface.

Class TestLicense:
Function usagegroupnames:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FCppr
function name:  usageGroupNames
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E > > RETURN                                                   <array>
   14     1*     > RETURN                                                   null

End of function usagegroupnames

End of class TestLicense.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.04 ms | 1395 KiB | 15 Q