- print_r: documentation ( source)
<?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);