Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4115268
Placeholder.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
463 B
Referenced Files
None
Subscribers
None
Placeholder.php
View Options
<?php
namespace
Wikimedia\DebugInfo
;
/**
* A class used for replacing large objects in var_dump() output.
*
* @since 1.40
*/
class
Placeholder
{
/** @var string A description of the replaced object */
public
$desc
;
/**
* @param mixed $value
*/
public
function
__construct
(
$value
)
{
if
(
is_object
(
$value
)
)
{
$this
->
desc
=
get_class
(
$value
)
.
'#'
.
spl_object_id
(
$value
);
}
else
{
$this
->
desc
=
get_debug_type
(
$value
);
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 00:46 (5 d, 10 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
84/21/ca4e0f3ec4bf2940aadb5c199350
Default Alt Text
Placeholder.php (463 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment