note 121953 added to function.array-fill-keys

From: Date: Thu, 30 Nov 2017 15:00:37 +0000
Subject: note 121953 added to function.array-fill-keys
Groups: php.notes 
Request: Send a blank email to php-notes+get-209276@lists.php.net to get a copy of this message
If you use new stdClass() as the value, each array element will contain the same object, and changing any of the array elements will change all the other elements as well. ---- Server IP: 208.43.231.9 Probable Submitter: 176.63.17.11 ---- Manual Page -- http://php.net/manual/en/function.array-fill-keys.php Edit -- https://master.php.net/note/edit/121953 Del: integrated -- https://master.php.net/note/delete/121953/integrated Del: useless -- https://master.php.net/note/delete/121953/useless Del: bad code -- https://master.php.net/note/delete/121953/bad+code Del: spam -- https://master.php.net/note/delete/121953/spam Del: non-english -- https://master.php.net/note/delete/121953/non-english Del: in docs -- https://master.php.net/note/delete/121953/in+docs Del: other reasons-- https://master.php.net/note/delete/121953 Reject -- https://master.php.net/note/reject/121953 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#209276) next »