PHP Data Types - Typecasting Overview & How It Works - Full PHP 8 Tutorial

preview_player
Показать описание
Let's review the data types in PHP & typecasting. PHP does some magic when it comes to handling various data types. It's called type juggling. There will be individual videos for each of the types because I want to go into more detail & discuss some of the important things that otherwise would make this video too long. These small details are very important in my opinion because they will help you understand how things work in PHP what some may call "magic" when it comes to data types & casting.

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.4

RESOURCES

CHAPTERS
00:00 - Intro
00:19 - Dynamically Types vs Statically Typed
01:18 - Scalar Types (bool, int, float, string)
03:05 - Get The Type Of The Variable (gettype, var_dump)
04:25 - Arrays (Compound Types)
06:19 - Null Type
06:25 - Automatic Type Detection
07:05 - Type Hinting Example
08:22 - Type Juggling / Type Coercion
10:15 - Strict Types
11:12 - Type Casting
Рекомендации по теме
Комментарии
Автор

it's nice that you're not only teaching us the language but also the good practices that are essential for professional work

janedawg
Автор

Thank you for teaching us PHP the right way :)

akbaysoul
Автор

Can't wait to learn everything. I know it's gonna be few more months before the last video drops of this series.
I wish I could buy this whole series because I am in an internship & my job will start on April 1. So need to clear every concept soon. Your teaching style is amazing with those graphical theories. Unique too. Thanks for such amazing free but premium tutorials.

snakemanluffy
Автор

One of the best tutorials, easy to understand, efficient and to the point!

SoniaChavez-jehq
Автор

Massive respect to Gio for creating such comprehensive PHP tutorials!

SynMlyn
Автор

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
Автор

One of the best of PHP learning you have

zahrajalali
Автор

Congrat! Just great! One of the best PHP tutorial in YT! Thank you a lot for sharing!

AmiDrutman
Автор

Amazing teaching php has never been easier!!!!

hudsonstar
Автор

Since i already know more languages i tried doing a for loop for the arrays and I figured it out right off the bat, just have to get used to using $ when declaring a variable or referencing it, and when accessing the value of some array just doing someArray[$i] as in my case.

mihajlocolic
Автор

Just started with your full PHP learning series.
Thank you very much for the effort you have put into these videos. You are a great teacher!

jonasbaumann
Автор

This is a crucial topic in terms of learning PHP. Thanks!

Vitalii-mr
Автор

A great teacher with excellent teaching method :)

rustlejack
Автор

This type coercion thing just blew my mind. I did not know this.

nafisnawalnahiyan
Автор

wow, I'm really impressed to see such a valuable content on youtube ; and more than that I'm impressed with your teaching style, everything is explained clearly and every possible question is covered ; also it has a good speed and it's not boaring. just like a miracle!
although maybe it wouldn't be best choice for absolute starters it is the most suitable for someone who knows how to program another language and wants to learn php or someone like me that has a good computer knowledge but doesn't know how to code.
hope it continues and wish you best. thanks a lot!

mohammadqaribi
Автор

Really great PHP series. Thank you for sharing your knowledge.

patriciamolnar
Автор

I really appreciate the work you are doing and am grateful for the provided valuable content.

vahestepanyan
Автор

just started today can't wait to learn more! Thank's very much your the best!

lekaizer
Автор

Your teaching style is awesome. If by any change you're expert at other programming language like JavaScript or Python, would be very appreciated if you publish videos. Anyways, keep it up!

manuelreyes
Автор

Thank you for this tutorial this has helped me a lot.

aan