PHP Fundamentals
Test
Model Test
Ebook
Quiz-1 : PHP Fundamental
Quiz-2 : PHP Variables and Datatypes
Quiz - PHP Basic 1
Quiz - PHP Fundamental 3
Quiz - PHP Advanced Concept, Networking, Super G.
Quiz - PHP Networking
Quiz PHP Object Oriented Programming
Quiz - PHP string,oop,regular expression
Quiz - PHP and MySQL
Quiz - PHP String,Security,Webservice
Index
PHP Home
PHP Fundamentals
230
PHP Input/Output
16
PHP Object Oriented Programming
59
PHP Installation & Configuration
17
Reported Questions
80
PHP Functions
16
PHP Regular Expression
33
PHP Variables and Datatypes
62
PHP Arrays
104
PHP Operators and Expressions
6
PHP Built-in Constants and Standard PHP .
10
PHP Advanced Concepts
120
PHP Error Handling
34
PHP String Operation
36
PHP Language Syntax
11
PHP Super Globals
21
PHP Datetime and timezone
4
PHP Networking
12
PHP with MySQL
5
PHP Web Service
10
PHP Security
15
PHP File Handling
9
PHP PEAR
7
PHP Control Structure
7
PHP Form Handling
1
Schools
Ebook
Question:
Which of the following is not supported in PHP5?
A
Type Hinting
B
Reflection
C
Magic Methods
D
Multiple Inheritance
E
Object Cloning
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following pair have non-associative equal precedence?
A
+,-
B
==,!=
C
<<,>>
D
&=,|=
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following attribute is needed for file upload via form?
A
enctype="multipart/form-data"
B
enctype="singlepart/data"
C
enctype="file"
D
enctype="form_data/file"
Note:
Not available
Show answer
Show Note
Report
Question:
you need to check the size of a file in PHP function.
$size=X(filename);
Which function will suitably replace 'X'?
A
filesize
B
size
C
sizeofFile
D
getSize
Note:
Not available
Show answer
Show Note
Report
Question:
What will be the output of the following code?
function fn(&$var)
{
$var = $var - ($var/10 * 5);
return $var;
}
echo fn (100);
A
100
B
50
C
98
D
Error massage
E
None of the above
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is not a valid PHP parser tag?
A
script
B
?p
C
%
D
?php
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following variables are supported by 'str_replace()' function?
A
Integer
B
String
C
Boolean
D
Array
Note:
Not available
Show answer
Show Note
Report
Question:
What will be the output of the following code?
$var = 10;
function fn()
{
$var = 20;
return $var;
}
fn();
echo $var;
A
10
B
20
C
Undefined Variable
D
Syntax Error
Note:
Not available
Show answer
Show Note
Report
Question:
How would you store order number (34) in an 'OrderCookie'?
A
setcookie("OrderCookie",34);
B
make Cookie("OrderCookie",34);
C
Cookie("OrderCookie",34);
D
OrderCookie(34);
Note:
Not available
Show answer
Show Note
Report
Question:
Consider the following two statements:
1 While (expr) statement
2 while (expr): statement... endwhile;
Which of the following are true in context of the given statements?
A
1 is correct and 2 is wrong
B
1 is wrong and 2 is correct
C
Both 1 & 2 are wrong
D
Both 1 & 2 are correct
Note:
Not available
Show answer
Show Note
Report
First
Prev
14
15
16
17
18
Next
Last
/23
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd