PHP
Test
Model Test
Ebook
Quiz-1 : PHP Fundamental
Quiz-2 : PHP Variables and Datatypes
Quiz - PHP Basic 1
Quiz - PHP Fundamental 3
Quiz - PHP Advanced Concept, Networking, Super G.
Quiz - PHP Networking
Quiz PHP Object Oriented Programming
Quiz - PHP string,oop,regular expression
Quiz - PHP and MySQL
Quiz - PHP String,Security,Webservice
Index
PHP Home
PHP Fundamentals
230
PHP Input/Output
16
PHP Object Oriented Programming
59
PHP Installation & Configuration
17
Reported Questions
80
PHP Functions
16
PHP Regular Expression
33
PHP Variables and Datatypes
62
PHP Arrays
104
PHP Operators and Expressions
6
PHP Built-in Constants and Standard PHP .
10
PHP Advanced Concepts
120
PHP Error Handling
34
PHP String Operation
36
PHP Language Syntax
11
PHP Super Globals
21
PHP Datetime and timezone
4
PHP Networking
12
PHP with MySQL
5
PHP Web Service
10
PHP Security
15
PHP File Handling
9
PHP PEAR
7
PHP Control Structure
7
PHP Form Handling
1
Schools
Ebook
Question:
Which of the following is not correct print function?
A
vprintf()
B
sprint()
C
print_r()
D
vsprintf()
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following functions are true?
A
The reset() function serves to set an array pointer back to the beginning of the array.
B
The end() function moves the pointer to the last position of an array.
C
The next() function returns the array value residing at the position immediately following that of the current array pointer.
D
The prev() function returns the array value residing at the location preceding the the current array pointer.
Note:
Not available
Show answer
Show Note
Report
Question:
$states = array("Ohio", "New York"); array_unshift($states, "Arizona", "Texas"); print_r($states)
A
Array ( [0] => Arizona [1] => Texas [2] => Ohio [3] => New York )
B
array ( [0] => Arizona [1] => Texas [2] => Ohio [3] => New York )
C
Array ( [0] => Ohio [1] => New York [2] => Arizona [3] => Texas )
D
$states=array("Arizona", "Texas", "Ohio", "New York");
Note:
Not available
Show answer
Show Note
Report
Question:
How do we declare constants variable?
A
constants $varname
B
varname constants
C
define()
D
$$varname
Note:
Not available
Show answer
Show Note
Report
Question:
Add an integer to a string will produce____.
A
Integer literal
B
String literal
C
Array
D
None
E
Object
Note:
Not available
Show answer
Show Note
Report
Question:
Which directive determines the reporting sensitivity level?
A
display_errors
B
error_reporting
C
display_startup_errors
D
log_errors
Note:
Not available
Show answer
Show Note
Report
Question:
$states = array("Ohio", "New York"); array_push($states, "Arizona", "Texas"); print_r($states)
A
Array ( [0] => Arizona [1] => Texas [2] => Ohio [3] => New York )
B
array ( [0] => Arizona [1] => Texas [2] => Ohio [3] => New York )
C
Array ( [0] => Ohio [1] => New York [2] => Arizona [3] => Texas )
D
$states=array("Ohio", "New York”, “Arizona", "Texas");
Note:
Not available
Show answer
Show Note
Report
Question:
$states = array("Ohio", "New York”, “Arizona", "Texas");
array_shift($states);
print_r($states)
A
Array ( [0] => New York [1] => Arizona [2] => Texas )
B
array ( [0] => Arizona [1] => Texas [2] => Ohio [3])
C
Array ( [0] => Ohio [1] => New York [2] => Arizona)
D
$states=array("New York”, “Arizona", "Texas");
Note:
Not available
Show answer
Show Note
Report
Question:
What are the difference between print and echo?
A
echo faster than print
B
echo return value
C
print return value
D
echo return true
Note:
Not available
Show answer
Show Note
Report
Question:
$states = array("Ohio", "New York”, “Arizona", "Texas"); array_pop($states); print_r($states); What will it output?
A
Array ( [0] => New York [1] => Arizona [2] => Texas )
B
array ( [0] => Arizona [1] => Texas [2] => Ohio [3])
C
Array ( [0] => Ohio [1] => New York [2] => Arizona)
D
$states=array("New York”, “Arizona", "Texas");
Note:
Not available
Show answer
Show Note
Report
First
Prev
14
15
16
17
18
Next
Last
/93
Go
Schools
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd