Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

duck17's avatar

how to declare an empty variable?

Hi all.

No matter what number I enter at the prompt, the answer is always 7. https://19216801.onl/

I would like declare an empty variable that can take an integer. I am using 'null' to make the variable empty. What am I doing wrong?

0 likes
1 reply

Please or to participate in this conversation.