note 79777 added to language.variables

From: Date: Wed, 12 Dec 2007 14:44:08 +0000
Subject: note 79777 added to language.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-133389@lists.php.net to get a copy of this message
Referenced a variable and at some point need a copy (not another reference)? <? function var_copy($var) { return unserialize(serialize($var)); } ?> Ofcourse this works recursively regardless of the type of $var. ---- Server IP: 130.206.1.5 Probable Submitter: 80.32.96.107 ---- Manual Page -- http://www.php.net/manual/en/language.variables.php Edit -- https://master.php.net/note/edit/79777 Del: integrated -- https://master.php.net/note/delete/79777/integrated Del: useless -- https://master.php.net/note/delete/79777/useless Del: bad code -- https://master.php.net/note/delete/79777/bad+code Del: spam -- https://master.php.net/note/delete/79777/spam Del: non-english -- https://master.php.net/note/delete/79777/non-english Del: in docs -- https://master.php.net/note/delete/79777/in+docs Del: other reasons-- https://master.php.net/note/delete/79777 Reject -- https://master.php.net/note/reject/79777 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#133389) next »