PHP Online Test

What does this function do: <?php function my_func($variable) {return (is_numeric($variable) && $variable % 2 == 0);}?>


Put this line php display_errors=false in a .htaccess file when you deploy the application?


What does break; do?


What library do you need in order to process images?


What can you use to replace like with hate in I like Eminem?


A constructor is a special kind of…


Which of the following regular expressions will match the string no.no.no?


Which one of these variables has an illegal name?


What is the correct way to add 1 to the $count variable?


What is the correct way to connect to a MySQL database?


What is the correct way to create a function in PHP?


<?php

$x=array("aaa","ttt","www","ttt","yyy","tttt");

$y=array_count_values($x);

echo $y[ttt];

?>


How do you get information from a form that is submitted using the "get" method?


What's the best way to copy a file from within a piece of PHP?


In php Which method is used to getting browser properties?


Which of the following function is used to pick one or more random values from PHP Array?


Are there regular expressions in PHP?


<?php

define("x","5");

$x=x+10;

echo x;

?>


what is the return value of this substr function?

<?php

$rest = substr("abcdef", -1);

$rest = substr("abcdef", 0, -1);

?>


The PHP syntax is most similar to:





































Description:

This is a multiple choice test.
Click the Start Test button below to start.
A question and the possible answer choices appear. Select the choice you find to be the correct answer of the question. Clicking on a choice saves it as your answer for the question.
Use Next and Back buttons to move on to the next or previous question in the test.
There is no negative marking for wrong choices selected.
After you finish the test, click on the End Test button to submit your test and see your scorecard.
You can review your answer also.

Comments

Want to learn?

Sign up and browse through relevant courses.

or fill this simple form
Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as shown in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy

Your Facebook Friends on WizIQ

More Tests By Author

Aptitude Test 3
30 Questions | 1138 Attempts

ASP.NET Test
20 Questions | 366 Attempts

Aptitude Test
20 Questions | 1063 Attempts

Aptitude Test
20 Questions | 3304 Attempts

Connect