不是复杂的PHP的问题。谢谢大家,谁能告诉我一下答案?
1.What will the following code fragment output?
$num = 100;
(boolean) $num;
print $num;
2:
What will the following statement output?
print gettype("10");
3:
What will be the output from the following code fragment?
$test_val = 10.5466;
settype( $test_val, "integer" );
print $test_val;
4.Which of the following statements does not contain an expression?
4;
gettype(10);
5/12;
5:
Which of the statements in question 4 contains an operator?
6:
What value will the following expression return?
5 < 2
What data type will the returned value be?
7.Declare a variable with the name “student_ID” and store the value “ABC123
8.What value will the following expression return?
100 > 2
1.What will the following code fragment output?
$num = 100;
(boolean) $num;
print $num;
2:
What will the following statement output?
print gettype("10");
3:
What will be the output from the following code fragment?
$test_val = 10.5466;
settype( $test_val, "integer" );
print $test_val;
4.Which of the following statements does not contain an expression?
4;
gettype(10);
5/12;
5:
Which of the statements in question 4 contains an operator?
6:
What value will the following expression return?
5 < 2
What data type will the returned value be?
7.Declare a variable with the name “student_ID” and store the value “ABC123
8.What value will the following expression return?
100 > 2

