This question already has an answer here:
- PHP: bool vs boolean type hinting 1 answer
What is the difference between:
$state = (bool)0;
and
$state = (boolean)0;
Both return the same value.
</div>
This question already has an answer here:
What is the difference between:
$state = (bool)0;
and
$state = (boolean)0;
Both return the same value.
</div>
Boolean is an alias for bool. Both of them mean that same type of variable.