How to insert multi-line comments in PHP code?
<!-- comment -->
/* comment */
# comment
// comment
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?
Mark a valid 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
Mark a valid way to create a variable in PHP
$a += 7
var a = 7
int a = 7
$a = 7
What shows in the console?
$x = 3; $X = 5; echo $x;
3
5
8
throw an error
« 1 (current) 2 3 4 »