こんにちは、次のコードの違いを明確にしてください。
<?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';