ID: 46953 User updated by: tobi at blackswan dot ch Reported By: tobi at blackswan dot ch Status: Open Bug Type: Class/Object related PHP Version: 5.2.8 New Comment:
forgot to mention... PHP Version is 5.2.6. Previous Comments: ------------------------------------------------------------------------ [2008-12-27 11:52:22] tobi at blackswan dot ch Description: ------------ Maybe it's nothing but my stupidness ;) When I do this -> $headers = imap_fetch_overview($mbox,$start.":{$end}",0); for ($i = 0; $i <= count($headers) ; $i++) { $headers[$i]->subject="fritz"; } --> Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 43 bytes) ... When I do this -> $headers = imap_fetch_overview($mbox,$start.":{$end}",0); $temp=count($headers); for ($i = 0; $i <= $temp ; $i++) { $headers[$i]->subject="fritz"; } --> All fine... $headers has 3 records... cheers ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46953&edit=1