0

Why is it giving this error??

Php (object oriented) https://code.sololearn.com/wG7MUI90ey01/?ref=app

13th Jun 2019, 2:58 PM
Niloy19
Niloy19 - avatar
3 ответов
+ 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
13th Jun 2019, 3:08 PM
Nandini
+ 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 👍
13th Jun 2019, 3:09 PM
Ipang
+ 2
Understood👍 P.Nandini Ipang
13th Jun 2019, 3:16 PM
Niloy19
Niloy19 - avatar