<?php
//In fact, it can be lowercase, but it is difficult to distinguish, so we stipulate that it is usually uppercase
define('xiaoxie',true);
echo xiaoxie;
$hello=flase;
echo $hello;
?> ;
Why the output result of the previous code is 1 and
The output result of the later code is flase, shouldn't it be 0?
First of all, false is misspelled.
Secondly, false prints out as empty and will not output 0.
Finally, you can only print out a 1.