Home » File Formats » File_DICOM » Bug #9865
error with parse function
Details
| Submitted | 2007-01-18 12:01 UTC |
|---|---|
| From | File_DICOM at ruquay dot com |
| Status | No Feedback |
| Package | File_DICOM |
| PHP Version | 5.2.0 |
| OS | Windows |
| Roadmaps | (Not assigned) |
Comments
[2007-01-18 12:01 UTC] File_DICOM at ruquay dot com
Description:
------------
Throws error on parse.
Test script:
---------------
require_once('File/DICOM.php');
$dicom = new File_DICOM();
$dicom->parse('path/to/dicom/file');
possible fix -- change line 280 from
return $val[''];
to
return $val[1];
(worked for me)
Expected result:
----------------
should return true
Actual result:
--------------
Notice: Undefined index: in C:\php\PEAR\lib\File\DICOM\Element.php on line 280
Notice: Undefined index: in C:\php\PEAR\lib\File\DICOM\Element.php on line 280
.
.
.
Fatal error: Out of memory (allocated 2883584) (tried to allocate 1230307331 bytes) in C:\php\PEAR\lib\File\DICOM\Element.php on line 176