131. What will be the output of the following PHP code ?
<?php
$a = '12345';
print "qwe".$a."rty";
?>
<?php
$a = '12345';
print "qwe".$a."rty";
?>
132. What will be the output of the following PHP code ?
<?php
$a = '12345';
echo 'qwe{$a}rty';
?>
<?php
$a = '12345';
echo 'qwe{$a}rty';
?>
133. What will be the output of the following PHP code ?
<?php
$a = '12345';
echo "qwe$arty";
?>
<?php
$a = '12345';
echo "qwe$arty";
?>
134. PHP can automatically convert integers to floating point numbers and floating point numbers to integers.
135. In PHP the integer 45 is stored exactly as 45. The floating point number 46.3 could be stored as.
136. What is the output of given statement?
Print 17 % 3;
137. In order to find if a variable holds an actual number or a string containing characters that can be translated into a number you can use:
138. The result of both the below expressions in PHP will be same:
1) 3+4*2
2) (3+4)*2
139. Numbers in PHP can’t be infinitely large or small, there is some minimum and maximum size. If more larger (or smaller) numbers are needed then . . . . . must be used:
1. GPM libraries
2. GMP libraries
3. CBMath
4. BCMath
140. Ceil(-2.1) would be
Read More Section(Operators and Expressions in php)
Each Section contains maximum 100 MCQs question on Operators and Expressions in php. To get more questions visit other sections.
Print 17 % 3;
137. In order to find if a variable holds an actual number or a string containing characters that can be translated into a number you can use:
138. The result of both the below expressions in PHP will be same:
1) 3+4*2
2) (3+4)*2
1) 3+4*2
2) (3+4)*2
139. Numbers in PHP can’t be infinitely large or small, there is some minimum and maximum size. If more larger (or smaller) numbers are needed then . . . . . must be used:
1. GPM libraries
2. GMP libraries
3. CBMath
4. BCMath
1. GPM libraries
2. GMP libraries
3. CBMath
4. BCMath
140. Ceil(-2.1) would be
Read More Section(Operators and Expressions in php)
Each Section contains maximum 100 MCQs question on Operators and Expressions in php. To get more questions visit other sections.