Exemple #1
0
function foo()
{
    $b = substr($a, 1, 2);
    $b = $d[substr($a, 1, 2)];
    if (substr($a, 1, 2)) {
        f(substr($a, 1, 2));
    }
    $g->substr($a, 1, 2);
    duplicateInTwoFunctions(1, 2, 3);
    singleCall();
    multipleCallVariousArg(1);
    multipleCallVariousArg(2);
    multipleCallVariousArg(3);
}
Exemple #2
0
function sendUserMatch($assassin, $match, $skipCall = false)
{
    $randomUser = getUnavailableAssassin($match);
    $callLink = getPrankCallForUser($randomUser);
    log_text('SEND --> ' . $assassin['name'] . ': You have been assigned: ' . $match['name']);
    if (SYSTEM_STARTED) {
        singleSMS($assassin['phone'], 'You have been assigned: ' . $match['name']);
        if (!$skipCall && $callLink && $randomUser) {
            singleCall($randomUser['phone'], $callLink);
        }
    }
    if (!$skipCall && $callLink && $randomUser) {
        log_text('CALL --> ' . $randomUser['phone'] . ':' . $callLink);
    }
}