MCQGeeks
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Information Science
1000 Php
Quiz 2
Solution
Q.1.
What will be the output of the following PHP code? <?php $x =$y =function fun() { $y = $GLOBALS['x'] + $GLOBALS['y']; } fun(); echo $y; ?>
a) 5
b) 10
c) 15
d) Error
Q.2.
PHP recognizes constructors by the name _________
a) function __construct()
b) function _construct()
c) classname()
d) _construct()
Q.3.
The developers of PHP deprecated the safe mode feature as of which PHP version?
a) PHP 5.3.1
b) PHP 5.3.0
c) PHP 5.1.0
d) PHP 5.2.0
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page