MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
php
Quiz 2
1
2
3
4
5
Q.1
POSIX implementation was deprecated in which version of PHP?
PHP 4
PHP 5
PHP 5.2
PHP 5.3
Q.2
POSIX stands for
Portable Operating System Interface for Unix
Portable Operating System Interface for Linux
Portative Operating System Interface for Unix
Portative Operating System Interface for Linux
Q.3
What will be the output of the following PHP code?
<?php
$text =
"this istsome text thatnwe might like to parse."
;
print_r
(
split
(
"[nt]"
,$text));
?>
this is some text that we might like to parse.
Array ( [0] => some text that [1] => we might like to parse. )
Array ( [0] => this is [1] => some text that [2] => we might like to parse. )
[0] => this is [1] => some text that [2] => we might like to parse.
Q.4
Which of the following would be a potential match for the Perl-based regular expression /fo{2,4}/ ?
1. fol
2. fool
3. fooool
4. fooooool
Only 1
2 and 3
1, 3 and 4
1 and 4
Q.5
Which among the following is/are not a metacharacter?
1. /a
2. /A
3. /b
4. /B
Only 1
1 and 3
2, 3 and 4
2 and 4
0 h : 0 m : 1 s
1
2
3
4
5
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)