note 127547 added to reflectionclass.iscloneable
| From: | info at ensostudio dot ru | Date: | Sun, 28 Aug 2022 04:36:18 +0000 |
| Subject: | note 127547 added to reflectionclass.iscloneable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-219488@lists.php.net to get a copy of this message | ||
similar function:
<?php
function isCloneable(object $obj): bool
{
return !method_exists($obj, '__clone') || is_callable([$obj, '__clone']);
}
?>
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.173 (proxied: 31.129.215.166)
----
Manual Page -- https://php.net/manual/en/reflectionclass.iscloneable.php
Edit -- https://main.php.net/note/edit/127547
Del: integrated -- https://main.php.net/note/delete/127547/integrated
Del: useless -- https://main.php.net/note/delete/127547/useless
Del: bad code -- https://main.php.net/note/delete/127547/bad+code
Del: spam -- https://main.php.net/note/delete/127547/spam
Del: non-english -- https://main.php.net/note/delete/127547/non-english
Del: in docs -- https://main.php.net/note/delete/127547/in+docs
Del: other reasons-- https://main.php.net/note/delete/127547
Reject -- https://main.php.net/note/reject/127547
Search -- https://main.php.net/manage/user-notes.php