0
Why is it giving this error??
Php (object oriented) https://code.sololearn.com/wG7MUI90ey01/?ref=app
3 Antworten
+ 4
You have closed the class before defining setage and gateage functions. So that it is showing error .
Close the class after functions then no error occurs
+ 3
You misplaced the class block closing bracket. Cut the `}` from line 7, insert a blank line above line 14, then paste the `}` on the blank line, that'll do it 👍