I've recently been diving into PHP programming and I'm having a bit of confusion regarding the terms "bool" and "boolean". I've come across both of these terms while going through PHP documentation and forums, but I'm not entirely sure what the difference is between them, or if there even is one.
From what I understand, both "bool" and "boolean" seem to refer to a data type that can only have two values: true or false. However, I'm not sure if they are interchangeable or if there's some distinction between them that I'm missing.
I'd really appreciate it if someone could shed some light on this for me. Can someone explain what the difference is between "bool" and "boolean" in PHP, if any? And in what situations should I use one over the other?
Thanks in advance for your help!