且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

两次调用的 PHP 反射

更新时间:2023-10-14 08:36:28

您必须将调用链拆分为单个调用

You have to split the call chain to the single calls

$getB = "getB";
$str = "getStr";
$a = new A();
echo $a->$getB()->$str();