Are you a PHP language expert? What is PHP OOP? Is it hard? Take this PHP practice test and check how easily you can solve basic PHP questions. In this quiz, we’ll be analyzing your knowledge of 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? Give this quiz a try and test your knowledge of this language. Let’s find out!
Static class bindings
Static bindings
Late static bindings
Late bindings
Class bindings
Cause error
Call local version of strlen
Call global version of strlen
Work only as of PHP 5.3 and call local version of strlen
Work only as of PHP 5.3 and call global version of strlen
Gc_rc()
Gc_enable()
Crc_enable()
Gc_activate()
Crc_activate()
Yes
No
There is nothing like 'anonymouss functions'
(string, string, string, bool, int)
(string, string)
(string, string, string, bool)
(string, string, string, int, bool)
(string, string, string, bool, bool)
PHP: Hypertext Processor
Private Home Page
Personal Home Page
Personal Hypertext Processor
PHP: Personal Hypertext Processor
Yes
No
Yes, but only commercial editions of PHP
...
or
@
#
$
\
%
Request.QueryString;
Request.Form;
Get_request();
$_GET[];
Request(GET);
True
False
None from above
True
False
Connect_mysql("localhost");
Mysql_open("localhost");
Dbopen("localhost");
Mysql_connect("localhost");
Depends on MySQL server version
$variable =+ 1;
Variable =+1;
Variable++;
$variable++;
Variable +=1;
*/.../*
*\...\*
#...
…
$myVar
$my_Var
$my-Var
All of them
None of them
Yes
No
Only on linux
Only on Windows
Body text='%black%'
Body text='black'
Body text="black"
None
Foo:*1023
Foo*
*foo
Foo
*
Fruits[0] = lemon fruits[1] = orange fruits[2] = banana fruits[3] = apple
Apple banana lemon orange
Fruits[0] = apple fruits[1] = banana fruits[2] = lemon fruits[3] = orange
Fruits[0] = apple fruits[1] = banana fruits[2] = orange fruits[3] = lemon
None
Set autocommit on
Set autocommit off
Error in code
Nothing
Apple banana lemon a = orange
C = apple b = banana d = lemon a = orange
A = apple b = banana c = lemon d = orange
Apple banana lemon orange
Apple banana lemon orange
The above sentense is true
The above sentense is false
Described situation will result in error
Isset returns true
Isset returns false
Error in code
Name
@example
@example.com
Example.com
Wait!
Here's an interesting quiz for you.