Question from the PHP7 test

What will this code display?

Hard

What will this code display?

<?php
$x= null;
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 1086 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!