PHP Online quiz fail

We had a php test last week and as I am quite good at PHP so I didn’t revise for this test, a few minute before test start, one of my classmates asked me a php question: php-wrong  What can you use to replace like with hate in I like Eminem? I answered preg_replace("/like/", "hate", "I like Eminem") He showed me this website and said you are wrong, I couldn’t believe that I am wrong. Anyway test started surprise! This was one of the questions and I answered the way this website told which later when I checked, it was wrong. I became upset because I didn’t trust my knowledge, if I never knew the answer I wouldn’t be upset because I didn’t have the knowledge. Hope they fix this mistake soon. I made a php quiz online, please report any error you may find.

Comments

Popular posts from this blog

I solved GCHQ puzzle and this is how I did it

The best way to predict the future is to create it

Why I don't have social media account?