Beruflich Dokumente
Kultur Dokumente
Q1
a.
b.
c.
is include() produced a Fatal Error while
require results in a
warning
d.
none of above
Get
b.
Post.
c.
d.
There is no direct way for larger form. You
need to store them in a file and retrieve
Q3
a.
b.
c.
d.
All of above
$ alive is false
b.
$ alive is true.
c.
$ alive is overflow
d.
a. Local variables
b. Function parameters
c. Hidden variables.
d. Global variables
<?php
$str = abcdefghijklmnop;
$fp = fopen(output.txt, w);
for($i=0; $i< 4; $i++) {
fwrite($fp, $str, $i);
}
?>
A. abcd
B. aababcabcd
C. aababc.
D. aaaa
Q17
<?php
FUNCTION TEST()
{
ECHO "PROGRAMMING SKILLS!\n";
}
test();
?>
(A)nothing
(B)its a compiler error, the code won't run.
(C) PROGRAMMING SKILLS!.
(D) programming skills!
Q18 A value that has no defined value is expressed
in PHP with the following keyword:
(A)None
(B)undef
(C)There is no such concept in PHP
(D) null.
Q19
$var = 1 / 2;
(A)0
(B)1
(C)0.5.
(D)null