--TEST-- Test for Console_CommandLine::parse() method (various options). --SKIPIF-- --ARGS-- -tfsfoo --int=3 --float=4.0 -cccc -a foo bar baz --callback=somestring foo bar --FILE-- parse(); var_dump($result->options); var_dump($result->args); ?> --EXPECT-- array(10) { ["true"]=> bool(true) ["false"]=> bool(false) ["int"]=> int(3) ["float"]=> float(4) ["string"]=> string(3) "foo" ["counter"]=> int(4) ["callback"]=> string(20) "foo__fbzrfgevat__bar" ["array"]=> array(3) { [0]=> string(3) "foo" [1]=> string(3) "bar" [2]=> string(3) "baz" } ["help"]=> NULL ["version"]=> NULL } array(2) { ["simple"]=> string(3) "foo" ["multiple"]=> array(1) { [0]=> string(3) "bar" } }