note 111854 added to reflectionclass.newinstancewithoutconstructor
| From: | ueli at banholzer dot me | Date: | Thu, 04 Apr 2013 18:39:33 +0000 |
| Subject: | note 111854 added to reflectionclass.newinstancewithoutconstructor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194341@lists.php.net to get a copy of this message | ||
$name = "Example\MyClass";
$class = unserialize(sprintf('O:%d:"%s":0:{}', strlen($name), $name));
----
Server IP: 69.147.83.199
Probable Submitter: 77.58.62.99
----
Manual Page -- http://php.net/manual/en/reflectionclass.newinstancewithoutconstructor.php
Edit -- https://master.php.net/note/edit/111854
Del: integrated -- https://master.php.net/note/delete/111854/integrated
Del: useless -- https://master.php.net/note/delete/111854/useless
Del: bad code -- https://master.php.net/note/delete/111854/bad+code
Del: spam -- https://master.php.net/note/delete/111854/spam
Del: non-english -- https://master.php.net/note/delete/111854/non-english
Del: in docs -- https://master.php.net/note/delete/111854/in+docs
Del: other reasons-- https://master.php.net/note/delete/111854
Reject -- https://master.php.net/note/reject/111854
Search -- https://master.php.net/manage/user-notes.php