How to insert multi-line comments in PHP code?
<!-- comment -->
/* comment */
# comment
// comment
No tests found
PHP doesn't allow to use different data types within an array. True or false?
true
false
In PHP same variable can be used for different types. True or false?
Select a corect way to create a constant in PHP
const $MAX = 100
$MAX = 100
enum $MAX = 7
define("MAX", 100)
A PHP script end with:
?)
?>
?#
?]
A PHP script start with:
(?php
[?php
<?php
#?php
Does this code throw an error?
$x = 3; ECHO $x;
yes
no
How to insert one-line comments in PHP code?
% comment %
-- comment
Select a correct way to create a variable in PHP
$a += 7
var a = 7
int a = 7
$a = 7
What will the following code output to the console?
$x = 3; $X = 5; echo $x;
3
5
8
throw an error
«1234»