回答編集履歴
1
調整
answer
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
function allempty(){
|
10
10
|
return count(array_filter(func_get_args(),function($x){return !empty($x);}))==0;
|
11
11
|
}
|
12
|
-
if(
|
12
|
+
if(allempty($a,$b,$c,$d)){
|
13
13
|
print "all empty";
|
14
14
|
}else{
|
15
15
|
print "not empty";
|