In this quiz, we’ll be testing your knowledge on all the different functions of the widely used programming and web development language, PHP! What can you tell us about these functions and how they are used? Let’s find out!
/* comments /*
#
//
::
A&B
Rate this question:
Gettype()
Is_double()
Get_type()
Is_date()
A&B
Rate this question:
Normal
Aborted
Timeout
All of the above
Rate this question:
*
%
@
&
Rate this question:
;
#
!
%>
Rate this question:
Hypertext Preprocessor
Personal Home Page
Private Home Page
Personal Hypertext Processor
Rate this question:
...
...
Rate this question:
"Hello World";
Echo "Hello World";
Document.Write("Hello World");
Response.write("Hello World")
Rate this question:
!
$
&
#
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Rate this question:
Function myFunction()
New_function myFunction()
Create myFunction()
Rate this question:
Mysql_open("localhost");
Connect_mysql("localhost");
Dbopen("localhost");
Mysql_connect("localhost");
Rate this question:
Count++;
$count++;
++count
$count =+1
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
$my-Var
$myVar
$my_Var
Rate this question:
No?no?no
No*no*no*
..\...\...
\.\..\.\..\.\.
Rate this question:
Class
Method
Object
Variable
Rate this question:
Preg_replace("like", "hate", "I like Eminem")
Preg_replace("/like/", "hate", "I like Eminem")
Preg_replace("/like/", "/hate/", "I like Eminem")
Preg_replace("hate", "like", "I like Eminem")
Rate this question:
C-client library
GIF/PNG library
Image Library
GD library
Rate this question:
It requires short tags and this is not compatible with XML
There is no problem
This syntax doesn't even exist It requires a special PHP library that may not always be available
Rate this question:
Ends execution of the current switch structure
Moves on to the next iteration of the current for, foreach, while, do-while or switch structure
Ends execution of the current for, foreach, while, do-while or switch structure
Rate this question:
Yes
No
Rate this question:
Yes
No
Rate this question:
That won't hide any error 'coz you can't use .htaccess to control the PHP engine Bad idea, I want to see when errors occur
That won't hide any error 'coz it's not the correct code
Good idea, increases security
Tests whether $variable is a number and ends in 2
Tests whether $variable ends in 2
Tests whether $variable is a number and contains 2
Tests whether $variable is an even number
Rate this question:
Quiz Review Timeline (Updated): Oct 3, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.