0

I want to set all these variables to equal false in as little lines of code as possible. Is it possible to do it all on one line? The code below doesn't work, but that is what I am looking for, instead of doing $a = False; $b = False; etc

$a, $b, $c, $d, $e, $e= FALSE;

Thanks

1 Answer 1

6
$a = $b = $c = $d = $e = FALSE;
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.