PHP – echoing boolean as string is not working properly?

As developers, we use a lot of boolean in our code, aren’t we?

By the pieces of code below, we are going to do some experiments on casting(converting) boolean to a string.

So enough words… let’s get started.

If you see any error, I love to get some feedback from you.
If you just want to say hey, give me a tweet or leave a comment below.

Thanks a lot.


Hello, I'm Mohammad Daka, software engineer who love coding. In my spare time I blogs about JavaScript,PHP, Chrome Extensions, helpful resources and tools, I'm also working on my own projects. Don't hesitate to contact me at my twitter account: @mohammad_daka :)

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *