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 1159 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!
4
Which of these PHP code snippets are valid?3
What will this code display?1
Write a PHP code that prints 1, 2, 3, 43
Display the first element of an array in PHP2
Which of the following statements are correct?2
Write a PHP code that displays the full name of a person.2
Which of the following are PHP framework names?