PHP Boolean Data Type - Full PHP 8 Tutorial

preview_player
Показать описание
Explanation of booleans in PHP, when & how they are used, how other data types are converted to booleans, and why boolean true is printed as 1 on-screen while false is printed as an empty string.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
THANK YOU!

LESSON 1.5
Рекомендации по теме
Комментарии
Автор

The way you teach is the best. I have been through more than 10 different programming tutorials, highest rated in udemy.. And seeing your tutorial, , i feel i didnt even know that basics.
👍👍👍 this is how topics should be taught.. Really happy that I happend to land on your pho playlist

sandeshb
Автор

Learned a lot of basics from this tutorial which are not covered in others. Really really useful and good for a beginner... thanks a lot Gio

nyinyiandnyinyi
Автор

Your lessons are really enjoyable and informative. Make me engaged in learning, thank you very much!

Mariia-lrvx
Автор

Brief, fluent, with the simplest explanations. Thanks ✌🏻🔥

EhsanShahbazii
Автор

This tutorial is just amazing. Thank you for sharing it with the community!

jybevox
Автор

Very interesting lesson, long time wanted to know why echo false -> empty string. Thanks!

alexandershnaidman
Автор

Thank you so much, Gio, for your commitment to helping us learn PHP!

SynMlyn
Автор

very neat teaching pattern and so many details revealed, thank you for one of the best tutorial series over the net :)

zichangprayingtothelord
Автор

Boolean type is ubiquitous. Thanks for this tutorial.

Vitalii-mr
Автор

I can learn from you deeply. Keep up good Work.

sudebkarmokar
Автор

Absolutely one of the best PHP learning videos on YouTube! Although some of the code has been depreciated in VS code. It did not like ${$foo} at all but I worked around it. Thank you for all of your hard work.

LisaMcGraw
Автор

So that is why we get false printed as blank in php . Thank you guru ji. <3

nafisnawalnahiyan
Автор

Great explanation, straight to the point thank you

lindascoon
Автор

Love ❤️ your videos - best I have ever seen in php course on YouTube - tanks so much 👌

jpbehrens
Автор

Awesome tutorial, mate. Usually someone need to spend some pennies to get this complete tutorial. But you are a generous man to share it to the community for free. You've done yourself proud. Btw, do you have a tutorial about how to get external API for WordPress website using PHP and display it correctly? I able to get the data via json decode, but didn't know how to put the data into a nice table as it supposed to be.

MrGedanggoreng
Автор

Best lessons ever. I think that when you want to cast something to bool, php cast to int and then try to cast to bool. What you think ?

ivandosev
Автор

Cause of other types also being evaluated as true/false is why we have the === opperator, is equal and is the same type. is_bool will not return false if the var is set to false as the is_bool function is checking what type the var is not the value of the var. [ $var = false; echo is_bool($var); ] will return true

chriscjjones
Автор

Thank you :) Because i can easy understand.

celestwebdev
Автор

Hello everyone, I am getting close to my 30s, and I decided to start studying PHP (my best friend is a senior PHP developer and he has so many privileges at his job) . I am finding the courses very clear and straight to the point. The thing is, I don't understand yet how they will be used (this is the 6th video of the lessons I've watched). Is it me not understanding, or I don't have to understand just yet??

YourZenZonee
Автор

Can u make videos laravel from beginner to advance

waqasdehar