Anonymous | Login | Signup for a new account | 12-17-2024 08:38 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001975 | [Quercus] | major | always | 08-26-07 03:57 | 09-19-07 07:38 | ||||
Reporter | kim | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product 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. | ||||||||
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'; } } |
||||||||
Attached Files | |||||||||
|
Notes | |
(0002237) kim 08-26-07 04:00 |
basically duplicate of 0001938 |
(0002303) ferg 09-19-07 07:38 |
php/0i20 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 28 unique queries executed. |