Hard
What will this code display?
<?php
$x= 0;
if(empty($x)){
echo 'A';
}
if(is_null($x)){
echo 'B';
}
if(isset($x)){
echo 'C';
}
if($x){
echo 'D';
}
Author: Julien BreuxStatus: PublishedQuestion passed 1176 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!
2
Which of the following statements are correct?2
What will this code display?4
Which of these PHP code snippets are valid?1
Write a PHP code that prints 1, 2, 3, 42
Which of the following are PHP framework names?2
Write a PHP code that displays the full name of a person.3
Display the first element of an array in PHP