IS4 PM_2025 – Telegram
IS4 PM_2025
736 subscribers
724 photos
47 videos
1.15K files
308 links
Download Telegram
The strcmp() function is used to compare the strings including case
Anonymous Quiz
91%
True
9%
False
The fopen() function is used to open files in PHP
Anonymous Quiz
94%
True
6%
False
What is the output of the following PHP code:-

<?php $i = 5; while (--$i > 0 && ++$i) { print $i; } ?>
Anonymous Quiz
16%
5
2%
55
5%
555
77%
5555.... infinitely
If $a = 12 what will be returned when
($a == 12) ? 5 : 1
is executed?
Anonymous Quiz
5%
1
86%
5
2%
12
7%
Error
The abstract classes are the classes in which at least one method need to be abstract. Abstract classes in PHP are declared with the help of keyword abstract
Anonymous Quiz
100%
True
0%
False
In object-oriented PHP encapsulation is a concept of wrapping up or binding up the data members and methods in a single module
Anonymous Quiz
98%
True
2%
False
In object-oriented programming, classes are the blueprints of php objects
Anonymous Quiz
95%
True
5%
False
PHP supports five class property scopes: public, private, protected, final and static
Anonymous Quiz
93%
True
7%
False
To create a new object in PHP we can use the new statement to instantiate a class.
Anonymous Quiz
57%
False
43%
True
Class constants are created like: const NAME = ‘VALUE’;
Anonymous Quiz
37%
False
63%
True
🔥1💔1
“->” is a dynamic class method invocation in PHP
Anonymous Quiz
86%
True
14%
False
PHP supports six method scopes: public, private, final, static, protected and abstract. But it does not support friendly
Anonymous Quiz
29%
False
71%
True
When we declare a method is as final then it is not possible to override that method. Methods should not be overridden due to some security or any other reasons
Anonymous Quiz
92%
True
8%
False
Returns the version of the Common Gateway Interface (CGI) the server is using
Anonymous Quiz
83%
$_SERVER['GATEWAY_INTERFACE']
17%
$_SERVER['SERVER_NAME']
Examples: IIS web server, cloud services, …..
Anonymous Quiz
89%
Server
11%
Client
👍1
Remove a session variable
Anonymous Quiz
76%
unset($_SESSION[‘name’])
24%
session_destroy()
Composer is dependency management tool for PHP, like a library full of books
Per project tool (vendor folder), not per system
Anonymous Quiz
90%
T
10%
F
f PHP_SELF is used in your page then a user can enter a slash (/) and then some Cross Site Scripting (XSS) commands to execute.
Anonymous Quiz
92%
T
8%
F
Composer is dependency management tool for PHP, like a library full of books
Per project tool (vendor folder), not per system
Anonymous Quiz
100%
T
0%
F