note 104460 added to function.msg-receive

From: Date: Thu, 16 Jun 2011 10:38:40 +0000
Subject: note 104460 added to function.msg-receive
Groups: php.notes 
Request: Send a blank email to php-notes+get-180600@lists.php.net to get a copy of this message
It looks like msg_receive() allocates a memory with size $maxsize, and only then tries to receive a message from queue into allocated memory. Because my script dies with $maxsize = 1 Gib, but works with $maxsize = 10 Kib. ---- Server IP: 69.147.83.197 Probable Submitter: 91.144.191.45 ---- Manual Page -- http://www.php.net/manual/en/function.msg-receive.php Edit -- https://master.php.net/note/edit/104460 Del: integrated -- https://master.php.net/note/delete/104460/integrated Del: useless -- https://master.php.net/note/delete/104460/useless Del: bad code -- https://master.php.net/note/delete/104460/bad+code Del: spam -- https://master.php.net/note/delete/104460/spam Del: non-english -- https://master.php.net/note/delete/104460/non-english Del: in docs -- https://master.php.net/note/delete/104460/in+docs Del: other reasons-- https://master.php.net/note/delete/104460 Reject -- https://master.php.net/note/reject/104460 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#180600) next »