|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-12-06 21:56 UTC] stas@php.net
-Type: Bug
+Type: Feature/Change Request
-Package: PHP Language Specification
+Package: Scripting Engine problem
[2017-08-05 04:46 UTC] stas@php.net
-Status: Open
+Status: Suspended
[2017-08-05 04:46 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 00:00:01 2025 UTC |
Description: ------------ Along the lines of using foo ()['bar'] etc - it would be handy to use the return value of a function when instantiating a class. Please see test script. Test script: --------------- class A {} $a = new A (); $b = new get_class ($a) ();