Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は次のコードを研究しました:
$this->user_id = $_SESSION['user_id']=$user->id;
しかし、$_SESSION['user_id'] これは私には意味がありません。$_SESSION[] 内の「user_id」は、名前属性または入力フィールド名ではありません。user_id は php で予約されているキーワードですか? もしそうなら、このキーワードの意味は何ですか?
$_SESSION['user_id']