嗨朋友你能澄清一下下面这段代码有什么区别吗:
<?php
class student {
function stu() {
echo "Hi Friends";
}
}
//difference between this
$s = new student();
$s -> stu();
//and this
$s1 = 'student';
$s1 -> stu();
$s = new student();
和有什么区别$s1 = 'student';