To create a new object in PHP we can use the new statement to instantiate a class.
Anonymous Quiz
57%
False
43%
True
🔥1💔1
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']
Normally implemented over a ....
Anonymous Quiz
75%
TCP connection (80 is standard port number for HTTP)
18%
HTTP request over connection
7%
DNS to locate IP address
👍1
Composer is dependency management tool for PHP, like a library full of books
Per project tool (vendor folder), not per system
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
Per project tool (vendor folder), not per system
Anonymous Quiz
100%
T
0%
F
Install by using the command:
Anonymous Quiz
95%
composer create-project --prefer-dist laravel/laravel laravel-softuni
5%
composer create-project prefer dist laravel laravel laravel softuni
يمنع لمهجمين من الاستفادة من sql injection
Anonymous Quiz
70%
htmlspecialchars()
30%
$_SERVER["PHP_SELF"] variable?
Returns the name of the host server (such as www.w3schools.com)
Anonymous Quiz
90%
$_SERVER['SERVER_NAME']
7%
$_SERVER['SERVER_ADDR']
2%
$_SERVER['GATEWAY_INTERFACE']
Application layer is the application functionality and the system logic
Anonymous Quiz
36%
False
64%
True
Presentation layer is the visualizing information and UI of the application
Anonymous Quiz
93%
True
7%
Flase