Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6078115
deep_copy.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
396 B
Referenced Files
None
Subscribers
None
deep_copy.php
View Options
<?php
namespace
DeepCopy
;
use
function
function_exists
;
if
(
false
===
function_exists
(
'DeepCopy
\d
eep_copy'
))
{
/**
* Deep copies the given value.
*
* @param mixed $value
* @param bool $useCloneMethod
*
* @return mixed
*/
function
deep_copy
(
$value
,
$useCloneMethod
=
false
)
{
return
(
new
DeepCopy
(
$useCloneMethod
))->
copy
(
$value
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 5 2026, 10:00 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ba/05/f61440f053a7996f0e86a79f0578
Default Alt Text
deep_copy.php (396 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment