PHP: Hypertext Preprocessor Show
Variables in PHP:
Important Resources
PHP MCQs
Pretext Hypertext Processor
Hypertext preprocessor
Preprocessor Home page
None
Server-side scripting
Client-side scripting
User-side scripting
None
<php>
<?php>
?php?
<?php?>
$sub = $sub - 1
$sub = $sub - $sub
$sub = $sub - $sub - 1
$sub = $sub
echo
Both have the same speed
None
No numbers
Letters
Underscore
All of the above
True
False
Depends on variable
None
Objects
void
Null
Resources
False
True
Depends on the condition
None
False
True
Depends on the condition
None
fopen()
fclosed()
gettype()
print_r()
Removes uppercase alphabet
Removes whitespaces
Removes lowercase alphabet
Removes underscore
template
reference
instances
class
Key function
Automatic function
Find function
Magic function
this
public
private
protected
PHP 6
PHP 4
PHP 5
PHP 5.3
get_argv()
func_get_argv()
get_argc()
func_get_args()
file()
glob()
get_file()
fold()
gzcompress()
compress()
zip()
zip_compress()
dsort()
asort()
rsort()
sort()
object::methodName();
object -> methodName();
$object::methodName();
$object->methodName();
Final
Protected
Static
Abstract
function_construct()
classname()
function__construct()
_construct()
Method adding
Method chaining
Method including
Typecasting
Near-fatal error
Compile-time error
Fatal compile-time error
Fatal run-time error
new exception()
throws new expection()
throw new expection()
New throws exception()
md5()
uniqueid()
id()
mdid()
into_array()
inend_array()
array_unshift()
array_push()
dsort()
natcasesort()
naturalsort()
casesort()
public
static
friendly
final
Only 2
Only 2 and 3
Only 3 and 4
Only 1 and 4
__call
__invoke
__unset
__wakeup
Source PHP library
Source PHP list
Standard PHP library
Standard PHP list
Portable Operating system interface for Linux
Portable Operating system interface for Unix
Portative Operating system interface for Linux
Portative Operating system interface for Unix
uppercase()
str_uppercase()
strtoupper()
struppercase() Which of the following is correct about PHP Mcq?PHP. PHP performs system functions, i.e. from files on a system it can create, open, read, write, and close them. PHP can handle forms, i.e. gather data from files, save data to a file, thru email you can send data, return data to the user.
Is PHP is a programming language Mcq?Yes! PHP is a programming language and specially used for developing dynamic websites.
What are the types of variables in PHP Mcq?Explanation: Depending on the scopes, PHP has three variable scopes: Local, Global and static variable scope. 7. What will be the output of the following PHP code?
How many types of functions are available in PHP Mcq?Explanation: PHP provides us with two major types of functions Built-in functions and User Defined Functions.
|