Originariamente inviato da andr3a
2 è k e k non può essere più alto del numero di elementi, c'è scritto anche questo.

cmq ho notato qualche sbavatura di codice, tipo che su PHP 5 dovrebbe dare un paio di notice ... fammi sapere che in caso la aggiorno
sì, visto

il numero di elementi però è decisamente superiore, circa 30 elementi

thks

ps.

$container = Array( 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9');
$c = &new Combinatory('-'); // note that separator('-') is optional
$matches = &$c->result( $container, 3, "Cn,k" ); // 2 is the class or combination possibility, Pn is the method