|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-04-20 13:09 UTC] smlerman at gmail dot com
[2006-04-20 16:58 UTC] dmitry@php.net
[2006-07-19 14:05 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 13:00:01 2025 UTC |
Description: ------------ PHP removes a temorary object then tryes to assign into its property. As a result we have SIGSEGV. Reproduce code: --------------- <?php function foo() { $x = new stdClass(); $x->bar = array(1); return $x; } foo()->bar[1] = "123"; echo "ok\n"; ?> Expected result: ---------------- ok Actual result: -------------- crash and/or memory leaks