Press the courseware, enter the code, run, error occurs
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
But if you delete all the comments before creating the object (there are still blank lines), it can run normally. What is the reason?
Running environment: local machine (windows) phpstudy 2018
Why are you standing there in a daze? Code it