|
Question
|
Option1
|
Option2
|
Option3
|
Option4
|
Option5
|
Answer
|
|
|
Which of the following function is used to change the root directory in PHP?
|
choot()
|
change_root()
|
cd_root()
|
cd_r()
|
|
A
|
Edit |
Details |
Delete
|
|
In PHP the error control operator is _______
|
.
|
*
|
@
|
&
|
|
C
|
Edit |
Details |
Delete
|
|
Which of the following is not true?
|
PHP can be used to develop web applications.
|
PHP makes a website dynamic.
|
PHP applications can not be compiled.
|
PHP can not be embedded into html.
|
|
D
|
Edit |
Details |
Delete
|
|
To work with remote files in PHP you need to enable
|
allow_url_fopen
|
allow_remote_files
|
allow_remote_files
|
none of above
|
|
A
|
Edit |
Details |
Delete
|
|
none of above
|
Faster
|
The execution speed is similar
|
Slower
|
All of above
|
|
C
|
Edit |
Details |
Delete
|
|
Trace the function that does continue the script execution even if the file inclusion fails
|
require ()
|
include ()
|
both of above
|
none of above
|
|
B
|
Edit |
Details |
Delete
|
|
Which of following are compound data type?
|
Array
|
Objects
|
Both
|
None
|
|
C
|
Edit |
Details |
Delete
|
|
Which of following function return 1 when output is successful?
|
echo ( )
|
print ( )
|
both
|
None
|
|
B
|
Edit |
Details |
Delete
|
|
Which of the following data type is not seal or datetype supported by PHP
|
Array
|
String
|
Float
|
Boolean
|
|
A
|
Edit |
Details |
Delete
|
|
what will the ouptut of below date() function ?
date="2011-12-12";
time="18:31:38";
datetime=date.time;
echo date("Y-m-d:H:i:s",strtotime($datetime));
|
2011-12-12:18:31:38
|
2011-12-12:38:38:18
|
12-12-12:18:38:31
|
2011/12/12:18:31:38
|
|
A
|
Edit |
Details |
Delete
|
|
The PHP syntax is most similar to:
|
Java script
|
VB Script
|
Visual Basic
|
PERL and C
|
|
D
|
Edit |
Details |
Delete
|