时间:2021-07-01 10:21:17 帮助过:17人阅读
( 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;