<?phpprint_r(range('a', 'c')); $quantidade = 10;$alternativas = range('a', chr(ord('a') + $quantidade)); print_r($alternativas);
Standard input is empty
Array ( [0] => a [1] => b [2] => c ) Array ( [0] => a [1] => b [2] => c [3] => d [4] => e [5] => f [6] => g [7] => h [8] => i [9] => j [10] => k )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!