PHP Small Quizzes – Telegram
PHP Small Quizzes
45 subscribers
13 photos
Rare publications with zero hassle.

If the language version isn't specified it means the latest version on the date of the post.

Communication: @Stalinko
Download Telegram
Which of these variable names are valid in php8.1: `$012mobile` or `$привет`?
Anonymous Quiz
8%
Both are valid
22%
Only `$012mobile` is valid
51%
Only `$привет` is valid
19%
Both invalid
What will be the result?
Anonymous Quiz
48%
7
0%
8
41%
13
11%
14
Which of these function calls will significantly increase the used memory (imagine we measure the memory peak usage before and after function call)?
Anonymous Quiz
22%
`unset_first` and `add_new`
17%
`add_new`
22%
`get_count` and `unset_first`
30%
`unset_first`
4%
All of them
4%
None of them
A question from our subscriber 👨‍💻
Which of these 2 classes are properly defined (won't cause PHP to throw an error)?
Anonymous Quiz
13%
Both A and B are eligible
22%
Only A is eligible
39%
Only B is eligible
26%
Both will cause an error