Return to bug44461.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / general_functions |
1.1 misho 1: --TEST-- 2: Bug #44461 (parse_ini_file crashes) 3: --FILE-- 4: <?php 5: file_put_contents(__DIR__ . 'bug44461.ini', <<<EOF 6: [attachments] 7: zip = "application/zip" ; MIME-type for ZIP files 8: EOF 9: ); 10: parse_ini_file(__DIR__ . 'bug44461.ini', true); 11: ?> 12: ===DONE=== 13: --CLEAN-- 14: <?php 15: unlink(__DIR__ . 'bug44461.ini'); 16: ?> 17: --EXPECT-- 18: ===DONE===