Beispiel #1
0
        }
        return $arg;
    }
    $result = t11('hey');
    echo "Test that variable in function parameter list can be redefined after unary op.<br>\n";
    echo 'result: ' . ($result == 'foo' ? 'pass' : 'fail') . "<br><br>\n\n";
}
function test12()
{
    function t11($arg)
    {
        $arg /= 3;
        return $arg;
    }
    $result = t11(12);
    echo "Test that variable in function parameter does not get redeclared with 'var '<br>\n";
    echo 'result: ' . ($result == 4 ? 'pass' : 'fail') . "<br><br>\n\n";
}
test1();
test2();
test3();
test4();
test5();
test6();
test7();
test8();
test9();
test10();
test11();
test12();
Beispiel #2
0
exit;
$a = filemtime('E:\\apc\\Builds\\VB_OEM\\PCMgr_Setup_10_4_25460_501.exe');
date_default_timezone_set('PRC');
echo date("Y-m-d H:i:s", $a);
exit;
$build_id = "1234";
echo $str = "INSERT INTO `evalpt`.`task_info` (`f_bid`) VALUES ('{$build_id}');";
exit;
function test12($inWord, &$outWord = null)
{
    $outWord = "outWord123";
    return 'inword:' . $inWord;
}
$w1 = 'abc';
$w2;
echo test12($w1, $w2);
echo "<br/>";
echo $w2;
exit;
exec('E:\\apc\\PFMaster\\PFUploadCheck.exe E:\\apc\\Builds\\temp\\AVT_SelfPower E:\\apc\\Builds\\AVT_SelfPower 2', $output);
var_dump($output);
exit;
var_dump($output);
if (count($output) == 5) {
    echo $output[0];
}
exit;
$all = '15';
if ($all) {
    echo "true";
} else {