日期:2014-05-17 浏览次数:20474 次
( function(w) {
var a = 1,
b= 2,
fun = function() {
return a + b;
};
w.onload = function(){
fun();
}
})(window);
$a = 1;
$b = 2;
function fun() {
global $a;
global $b;
return $a + $b;
}
foreach($_GET as $key=>$val) {
$$key = urldecode($val);
}
if((int)$getVal > 1) {
...
} else {
...
}
$val = null;
$arr = array();
foreach($getArr as $val) {
if(strlen($val) > 0) {
$arr[] = $val;
}
}
echo fun(),implode('-',$arr);
exit;