0

Asking for fixing code

https://sololearn.com/compiler-playground/w2qg9A72Ijmz/?ref=app Why my code isn't working?

23rd Jun 2025, 10:28 AM
Wisdom
Wisdom - avatar
1 Odpowiedź
+ 1
I haven't had much to do with php in a long time, but I think you want to use strcmp to compare you strings instead of ==, because == can return many inaccurate answers. -----edit----- Sorry, you can read here about it: https://stackoverflow.com/questions/3333353/string-comparison-using-or-vs-strcmp
23rd Jun 2025, 1:44 PM
Ausgrindtube
Ausgrindtube - avatar