Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1975 | major | always | 08-26-07 03:57 | 09-19-07 07:38 | |
|
|||||
Reporter: | kim | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.3 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.3 | ||
|
|||||
Summary: | 0001975: isset() returns false on Spyc-parsed array datastructure | ||||
Description: | Spyc (http://spyc.sourceforge.net/) [^] is a YAML parser written in PHP heavily used by the Symfony Framework (http://www.symfony-project.com). [^] Due to the issue illustrated below, symfony does not start up. | ||||
Steps To Reproduce: | |||||
Additional Information: |
YAML (foo.yml): foo: bar: foobar PHP: require_once('/path/to/Spyc.class.php'); $spyc = new Spyc(); $yml = $spyc->load('foo.yml'); // outputs as expected: // Array //( // [foo] => Array // ( // [bar] => foobar // ) // //) print_r($yml); foreach ($yml as $category => $vals) { // outputs as expected: // Array // ( // [bar] => foobar // ) print_r($vals); if (!isset($vals["bar"])) { // should not get executed echo '$vals["bar"] is not set'; } } |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|