PHP
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:
Scalar data types are used to represent____
A
a single value
B
a double value
C
Equal value
D
All
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the strings is/are valid?
A
“Whoop-de-do”
B
"*9subway\n"
C
“123$%^789”
D
All
Note:
Not available
Show answer
Show Note
Report
Question:
In PHP, instructions are terminated with a _______.
A
;
B
#
C
!
D
%>
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following data types is/are compound?
A
Boolean
B
string
C
Array
D
Object
Note:
Not available
Show answer
Show Note
Report
Question:
What is the correct way to create a function in PHP?
A
function myFunction()
B
new_function myFunction()
C
create myFunction()
Note:
Not available
Show answer
Show Note
Report
Question:
What is the correct way to add 1 to the $count variable?
A
count++;
B
$count++;
C
++count;
D
$count =+1;
Note:
Not available
Show answer
Show Note
Report
Question:
What does break do?
A
Ends execution of the current switch structure
B
Moves on to the next iteration of the current for, foreach, while, do-while or switch structure
C
Ends execution of the current for, foreach, while, do-while or switch structure
Note:
Not available
Show answer
Show Note
Report
Question:
Which operator is used to concatenate two strings in php?
A
dot operator (.)
B
plus operator (+)
C
minus operator(-)
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following function is used for terminate the script execution in PHP?
A
break()
B
quit()
C
close()
Note:
Not available
Show answer
Show Note
Report
Question:
How to returns any ensuring value back to the function caller?
A
using break statement
B
using return statement
C
using Continue Statement
Note:
Not available
Show answer
Show Note
Report
First
Prev
17
18
19
20
21
Next
Last
/93
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2025. Powered by
Intellect Software Ltd