Skip to content

Instantly share code, notes, and snippets.

@mcsee

mcsee/uselessFlag.php

Last active Jun 8, 2021
Embed
What would you like to do?
<?
function dummy() {
$flag = true;
while ($flag == true) {
$result = doSomething();
if ($result) {
$flag = false;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment