Question from the PHP7 test

What will this code display?

Hard

What will this code display?

<?php

if (true == 1){
    echo 'A';
}
if (false === 0){
    echo 'B';
}
if ([] === true){
    echo 'C';
}
if ([] == false){
    echo 'D';
}
Author: Julien BreuxStatus: PublishedQuestion passed 1130 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!