Question from the PHP7 test

What will this code display?

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 1149 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!