Question from the PHP5 test

What is the output of the following code? $a = '1'; $b = true; echo $a == $b;

Easy

A non-empty string is evaluated to TRUE in a boolean condition, yet the execution of this code does not display anything in the console. Why ?

Author: Mathieu RobinStatus: PublishedQuestion passed 59 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!