PHP Variables and Datatypes
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:
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:
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:
______________ data type are used to represent a single value.
A
Boolean
B
Scalar
C
Number
D
String
Note:
Not available
Show answer
Show Note
Report
Question:
Which are the example of compound data type?
A
array
B
object
C
String
D
Float
Note:
Not available
Show answer
Show Note
Report
Question:
Which statement is true about Type Juggling?
A
Varibles are sometimes automatically cast.
B
Convert on data type to another
C
Convert to object to Data Type
Note:
Not available
Show answer
Show Note
Report
Question:
How to get the type of the variable?
A
using getDataType function
B
using gettype function
C
datatype()function
D
settype() function
Note:
Not available
Show answer
Show Note
Report
Question:
How to convert types?
A
using getDataType function
B
using gettype function
C
datatype() function
D
settype() function
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the example is reference assignment?
A
$value=”Hello” $value2=$value
B
$$value=”Hello” $value2=$value
C
$value=”Hello” $value2=&$value
Note:
Not available
Show answer
Show Note
Report
Question:
PHP comments for a single line have the following syntax:
A
/* comments /*
B
#
C
//
D
::
Note:
Not available
Show answer
Show Note
Report
Question:
In PHP, instructions are terminated with a _______.
A
;
B
#
C
!
D
%>
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
3
4
5
Next
Last
/7
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd