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:
What is the correct way to create a function in PHP?
A
function myFunction()
B
new_function myFunction()
C
create myFunction()
Note:
Not available
Show answer
Show Note
Report
Question:
What is the correct way to add 1 to the $count variable?
A
count++;
B
$count++;
C
++count;
D
$count =+1;
Note:
Not available
Show answer
Show Note
Report
Question:
variables always start with a __ in php
A
pond-sign
B
yen-sign
C
Doller-sign
D
Euro - sign
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is not true?
A
PHP can be used to develop web applications.
B
PHP makes a website dynamic.
C
PHP applications can not be compiled.
D
PHP can not be embedded into html.
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following function returns the number of characters in a string variable?
A
count($variable)
B
len($variable)
C
strcount($variable)
D
strlen($variable)
Note:
Not available
Show answer
Show Note
Report
Question:
When using the POST method, variables are displayed in the URL:
A
False
B
True
Note:
Not available
Show answer
Show Note
Report
Question:
List()is used to assign a list of variables in one operation.
A
True
B
False
Note:
Not available
Show answer
Show Note
Report
Question:
Into compound data types categories are ______.
A
Array
B
Object
C
String
D
Integer
Note:
Not available
Show answer
Show Note
Report
Question:
PHP is a ______ language.
A
loosely typed
B
software typed
C
General types
D
All
Note:
Not available
Show answer
Show Note
Report
Question:
______ variable can be accessed in any part of program.
A
global
Note:
Not available
Show answer
Show Note
Report
First
Prev
2
3
4
5
6
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