|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-10-31 22:28 UTC] gron@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: gron
[2011-10-31 22:58 UTC] gron@php.net
[2011-10-31 22:59 UTC] gron@php.net
-Status: Assigned
+Status: Closed
[2011-10-31 22:59 UTC] gron@php.net
[2012-04-18 09:48 UTC] laruence@php.net
[2012-07-24 23:39 UTC] rasmus@php.net
[2013-11-17 09:35 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 09:00:01 2025 UTC |
Description: ------------ Wrong error message when trait is being instanciated using reflection or being unserialized by unserialize(). Test script: --------------- trait Test {} $rc = new ReflectionClass('Test'); $rc->newInstance(); Expected result: ---------------- Fatal error: Cannot instantiate trait Test in %s on line %d Actual result: -------------- Fatal error: Cannot instantiate abstract class Test in %s on line %d