Discover
Create +
log in
Home
Trending
Quizzes
Stories
Questions
Polls
Pages
Create
Quizzes
Stories
Polls
Questions
Pages
Home
Trending
Sign in
PHP Screening — Scored Quiz — Qfeast
Quizzes
›
Computers
›
Computer Languages
PHP Screening
by
purpleJobs
PHP Screening
1
🔥
12 plays
Published
0 of 15 answered
Stacked
PHP server scripts are surrounded by delimiters, which?
1/15
Choose one
<?php>...</?>
<script>...</script>
<?php…?>
What is the correct way to include the file "time.inc" ?
2/15
Choose one
<!--include file="time.inc"-->
<?php require("time.inc"); ?>
<?php include_file("time.inc"); ?>
What is the correct way to connect to a MySQL database?
3/15
Choose one
mysql_open("localhost");
connect_mysql("localhost");
mysql_connect("localhost");
Which of the following regular expressions will match the string no.no.no?
4/15
Choose one
no*no*no*
\.\..\.\..\.\.
..\...\...
no?no?no
What library do you need in order to process images?
5/15
Choose one
GIF/PNG library
GD library
c-client library
Image Library
What is the problem with <?=$expression ?> ?
6/15
Choose one
There is no problem
This syntax doesn't even exist It requires a special PHP library that may not always be available
It requires short tags and this is not compatible with XML
All variables in PHP start with which symbol?
7/15
Choose one
!
$
&
#
What does this function do: <?php function my_func($variable) {return (is_numeric($variable) && $variable % 2 == 0);}?>
8/15
Choose one
tests whether $variable is a number and ends in 2
tests whether $variable is a number and contains 2
tests whether $variable is an even number
tests whether $variable ends in 2
What does PHP stand for?
9/15
How do you write "Hello World" in PHP
10/15
In PHP, arrays may be sorted with which of the following functions?
11/15
Choose one
uksort()
arsort()
ksort()
All of the above
Are objects passed by value or by reference?
12/15
What is the difference between $message and $$message?
13/15
What is the difference between characters \023 and \x23?
14/15
With a heredoc syntax, do I get variable substitution inside the heredoc contents?
15/15
Favorite (1)
0.0 (0)
Bookmark
PU
purpleJobs
FOLLOW
You might also like
Trending Quizzes