|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-11-09 11:05 UTC] ignacio at openservices dot net
The following works: """ $abc="ABC"; $t=$abc."123"; $t(); // Calls ABC123() """ but there's no obviously apparent reason that: """ $abc="ABC"; ($abc."123")(); // Calls ABC123() """ shouldn't work the same way. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Jun 17 13:08:35 2026 UTC |
You can use: ${$abc."123"} note the curly braces. So there is no need for this "feature".