Guess number remains 0

I’m on PHP Number Guessing project. The program is running, but the Guess number remains 0, every time when I type Enter on terminal. What’s the issue? Can anyone solve the problem please?

What do you mean the guess number remind 0? (the screenshot is from running your code)

I compared with the walkout video and with my terminal, but the guess number remains to 0 on my platform. I tried several times and it did not change anything.

Videos can sometimes be tricky to follow for many reasons (I’ve outlined some here: Making the most of video tutorials)

A more constructive thing would be, what are you expecting your code to do? What is it doing right? What is it doing wrong?

Note that that sceeenshot I put above is of your code running on my terminal.