|
|
|
|
|
by nidx
4435 days ago
|
|
The PHP Virgin QUIZ is full of wrong answers! 1. To run PHP code it needs to be processed by a web server.
They say TRUE.
The answer is FALSE.
- php-cli is used a lot (composer/phpunit/etc...) 2. If you inspect the source of a web page, will you ever see the PHP code?
They Say YES.
The Answer is FALSE
- I mean maybe if you enable phps (php source) in your web server, but in most usage never. 4.In the following code snippet, 'print' is what?
<?php print("Hello beautiful world!"); ?>
They say it s a variable.
That might be true given that a variable can be a closure function, but the real answer is a function! UGH! |
|
I suspect all the quizzes are jokes or proof-of-concept placeholders.