PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
You can echo/print anything that is an expression, and what is printed is its value. Assignment is an expression and the "value" of it is whatever the assigned value was - in this case true (and not $a). Breaking it down into two statements,