3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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);
based on OmKKb
Output for 5.3.17 - 7.2.0
Array ( [test_group] => Array ( [title] => Test Group ) )