|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-13 07:04 UTC] zxd at zhangxiaodong dot net
[2005-02-07 23:32 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 03:00:02 2025 UTC |
Description: ------------ The type and value of a Integer varible passed to function msg_send which do not use serialize will be changed after 1 second sleep. Reproduce code: --------------- function t18(){ $a = 1234; $qid = msg_get_queue($a); // cause core dump msg_send($qid, 1, $a, false); sleep(1); echo "type of a=".gettype($a)."\n"; echo "value of a= {$a}\n"; } Expected result: ---------------- type of a=integer value of a=1234 Actual result: -------------- type of a=integer value of a= 0 segment falut(core dumped)