單項(xiàng)選擇題

下列對(duì)$student使用正確的是()。

A.$student->$getName();
B.$student->name;
C.$student->$name;
D.$student.getName();

微信掃碼免費(fèi)搜題