André Polykanine<p>Today I had a little discussion here on Mastodon with a friend of mine about single equal signs in conditions in <a href="https://dragonscave.space/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a>: `if ($a = 3…)`. Dear PHP community, what's the current take on those? I know that some people even use this "assignment-and-comparison" technique sometimes, but as it could lead to hideous hard-to-catch bugs, isn't it considered dangerous and won't it be eventually deprecated? I mean, did you have such discussions among internal devs? Thanks!</p>