I'm so missed your answers! ;) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

I'm so missed your answers! ;)

Hello! I've been thinking about what's wrong, but I'm so tired after work.. So if You are not, please tell me what I've to do. Parse error: syntax error, unexpected 'WriteToFile' (T_STRING) in ..\Playground\ PHP Parse error: syntax error, unexpected 'WriteToFile' (T_STRING) in ..\Playground\ https://code.sololearn.com/wJJV368T2fV6/?ref=app

7th Aug 2017, 4:00 PM
Kate Komelina
Kate  Komelina - avatar
2 Answers
+ 3
This is php, not c++. You don't need to initialize or specify the type of a variable 😊 You could create a class named user. However, you have to add a $ before their name (everywhere!) Good luck!
7th Aug 2017, 5:08 PM
Drax
Drax - avatar
+ 2
Thank you!
8th Aug 2017, 5:42 AM
Kate Komelina
Kate  Komelina - avatar