示例#1
0
                break;
            }
            $r++;
        }
    }
}
function fannkuch($n = 9)
{
    Fannkuch_run($n);
}
function main_function()
{
    for ($i = 0; $i < 100; ++$i) {
        ackermann(4);
        ary(50000);
        ary2(50000);
        ary3(100);
        fibo(23);
        hash1(10000);
        hash2(200);
        heapsort(2000);
        matrix(3);
        nestedloop(8);
        sieve(5);
        strcat(80000);
        binary_trees(7);
        fannkuch(6);
    }
}
main_function();
示例#2
0
    $msgarray = array();
    if (!empty($_POST)) {
        $username = trim($_POST['username']);
        $password = trim($_POST['password']);
        $smtpserver = trim($_POST['smtpserver']);
        $tls = trim($_POST['tls']);
        $port = trim($_POST['port']);
        $auth = trim($_POST['auth']);
        if ($smtpserver != '' && $port != '' && $auth != '') {
            if ($auth == 'false' && $username != '' && $password != '' || $auth == 'true' && $username == '' && $password == '') {
                $msgarray = set_validation_messages($tls, $smtpserver, $username, $password, $port, $auth);
            } else {
                if (!preg_match("/^([0-9])+\$/", $port)) {
                    $msgarray['port'] = 'Please enter valid port number.';
                } else {
                    $msgarray = main_function($tls, $smtpserver, $username, $password, $port, $auth);
                    if (isset($msgarray['result']) && $msgarray['result'] == 'send') {
                        ?>
					<script type="text/javascript" language="javascript">
					window.location= "index.php?s=<?php 
                        echo sapp_Global::_encrypt(5);
                        ?>
";
					</script>
				<?php 
                    }
                }
            }
        } else {
            $msgarray = set_validation_messages($tls, $smtpserver, $username, $password, $port, $auth);
        }
示例#3
0
文件: big.php 项目: n3b/hiphop-php
    if ($x === "997") {
        global $y;
        $y .= $x;
    }
}
function c998($x)
{
    if ($x === "998") {
        global $y;
        $y .= $x;
    }
}
function c999($x)
{
    if ($x === "999") {
        global $y;
        $y .= $x;
    }
}
global $y;
for ($j = 0; $j < 100; ++$j) {
    $y = '';
    for ($i = 0; true; ++$i) {
        $str = sprintf("%03.d", $i);
        main_function($str);
        if ($str == "999") {
            break;
        }
    }
}
echo strlen($y) . "\n";