ZF-5624: Unable to handle '=' in long options
Description
Code to reproduce the problem:
$options = new Zend_Console_Getopt(
array(
'foo=s' => 'Option One'
),
array(
0 => '/path/to/script.php',
1 => '--foo=some text containing an = sign which breaks'
)
);
print_r($options->toArray());
Expected output:
Array
(
[0] => foo
[1] => some text containing an = sign which breaks
)
Actual Output:
Array
(
[0] => foo
[1] => some text containing an
)
Comments
Posted by James Dempster (letssurf) on 2009-01-23T09:01:23.000+0000
fix in r13760
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-04-01T04:36:01.000+0000
correct fix version