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

Поділитися
Вставка
  • Опубліковано 4 лис 2024

КОМЕНТАРІ • 152

  • @janedawg09
    @janedawg09 9 місяців тому +10

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

  • @akbaysoul01
    @akbaysoul01 3 роки тому +16

    Thank you for teaching us PHP the right way :)

  • @nafisnawalnahiyan5032
    @nafisnawalnahiyan5032 Рік тому +1

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

  • @SynMlyn
    @SynMlyn 9 місяців тому +1

    Massive respect to Gio for creating such comprehensive PHP tutorials!

  • @SoniaChavez-je7hq
    @SoniaChavez-je7hq 8 місяців тому +1

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

  • @nyinyiandnyinyi
    @nyinyiandnyinyi 8 місяців тому +1

    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

  • @andergraund9327
    @andergraund9327 3 роки тому +11

    You are a great teacher

  • @hudsonstar277
    @hudsonstar277 11 місяців тому +1

    Amazing teaching php has never been easier!!!!

  • @AmiDrutman
    @AmiDrutman 2 роки тому +2

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

  • @snakemanluffy7645
    @snakemanluffy7645 3 роки тому +31

    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.

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому +14

      Thank you, I appreciate the kind words. I know it's taking a while to publish videos but I want to make sure I cover all the important topics that are usually left out from other tutorials, so it takes more time for me to make such videos. If I had all the videos ready I would publish them all at once, I publish them few days after I shoot & edit them. Trying to come up with a better publishing schedule so I don't burn out & also want to stay consistent on the schedule. We'll cover a good amount of OOP before April 1st & more advanced topics will follow after.
      That being said, if you face any issues or have any questions don't hesitate to reach out. Good luck with your job, you'll do great.

    • @snakemanluffy7645
      @snakemanluffy7645 3 роки тому +3

      @@ProgramWithGio I understand sir. That's why your video quality is so high with covering every topic possible. I have watched many tutorials on PHP but never found one that similar to you (So perfectly balanced [Not saying Thanos words here but it's true :D ). Thanks for your words, Sir. Really inspired me. 😍 where were you all these years? 😅 keep doing the best work.

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому +7

      @@snakemanluffy7645 Thank you. I wish I started producing content earlier, but it's never too late right? :)

    • @snakemanluffy7645
      @snakemanluffy7645 3 роки тому +2

      @@ProgramWithGio yes. Thank you 😍

    • @nikolar5847
      @nikolar5847 Рік тому +2

      @@snakemanluffy7645 How did your internship go? Did you get a job later? :)

  • @Vitalii-m6r
    @Vitalii-m6r Рік тому +1

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

  • @zahrajalali2256
    @zahrajalali2256 Місяць тому

    One of the best of PHP learning you have

  • @iraklyoda5947
    @iraklyoda5947 Рік тому +3

    GIO the GOAT

  • @jonasbaumann3116
    @jonasbaumann3116 11 місяців тому +1

    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!

  • @rustlejack9542
    @rustlejack9542 3 роки тому +3

    A great teacher with excellent teaching method :)

  • @sangyoonpark2757
    @sangyoonpark2757 Місяць тому

    Thank you Gio from Korea.
    I found you from reddit some people recommended you and i think your course is better than Udemy courses
    I graduated my computer major this year but i only able to do something not complex front-end developement and still haven't get any job.
    i saw so many tutorial in the Front-end and i feel sick of it... maybe i only did tutorial and haven't finish any real application.
    html, css, js, ts, figma, react, react-query, next.js, zustand, wordpress, whatever..
    I thought if i learn JavaScript better than other then i can get any job before and it was just a dream.
    Feel like i'm really not good at this developer job and wonder i can be better junior developer or senior developer in the future.
    Just hope i can be better person than yesterday.
    With earning some money also.
    Thanks for reading my nagging.
    I really appreciate it.

    • @ProgramWithGio
      @ProgramWithGio  Місяць тому

      Hey, I'm really glad to hear that you found my course helpful. Thank you.
      I understand how challenging it can be when you're starting out. Learning so many technologies can feel overwhelming, and it's normal to feel a bit lost sometimes. Remember, every expert was once a beginner. The important thing is to keep moving forward, even if it's just one small step at a time. Try focusing on building small projects that interest you. This can help you apply what you've learned and build a portfolio to show potential employers. Progress takes time so don't be too hard on yourself.
      Wishing you all the luck.

  • @Jam-ht2ky
    @Jam-ht2ky Рік тому +2

    much love! best seris on the topic

  • @lekaizer1520
    @lekaizer1520 3 роки тому +1

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

  • @omaryahia
    @omaryahia Рік тому +1

    you are absolutely amazing so far!

  • @patriciamolnar2327
    @patriciamolnar2327 2 роки тому +2

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

  • @mohammadqaribi1703
    @mohammadqaribi1703 2 роки тому +2

    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!

  • @vahestepanyan8129
    @vahestepanyan8129 3 роки тому +3

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

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому +1

      You're welcome 🙌. Thank you for watching

  • @klama1983
    @klama1983 6 місяців тому

    Thanks so much for putting this quality content for all of us to see and learn from it. I am only starting, but this tutorial is giving my old ass the courage to say 'i can do it'. Haha i do not know why it posted twice, but still worth it :D

    • @ProgramWithGio
      @ProgramWithGio  5 місяців тому

      You can totally do it, don't let anyone tell you otherwise. Thank you for your support 💙

  • @aan8123
    @aan8123 2 роки тому +1

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

  • @dustfromoldxp
    @dustfromoldxp 5 місяців тому

    big thanks for your videos! A lot of information and easy to understand.

  • @PrzyjacielKamil
    @PrzyjacielKamil 2 роки тому +1

    Great explained!

  • @stefanbirsan3320
    @stefanbirsan3320 3 роки тому +2

    the best of the best!

  • @manuelreyes5113
    @manuelreyes5113 Рік тому +6

    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!

  • @Epikht
    @Epikht Рік тому +1

    thank you for this masterpiece man

  • @mihajlocolic01
    @mihajlocolic01 Рік тому +1

    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.

    • @ProgramWithGio
      @ProgramWithGio  Рік тому

      Yea takes a bit of getting used to, for me when I code in other languages I add $ all the time 😁

  • @xoddopaul
    @xoddopaul 2 роки тому +1

    How Excellent!!! 🤗

  • @Andy-yx7pd
    @Andy-yx7pd 3 роки тому +1

    Great explanations and to the point. Thank you.

  • @deborachiattiheinz6134
    @deborachiattiheinz6134 2 роки тому +2

    You are really good at teaching php! you are helping me a lot!

  • @tedybg
    @tedybg 2 роки тому +1

    Well done! Very well organized lessons and great examples.

    • @ProgramWithGio
      @ProgramWithGio  2 роки тому

      Thank you 💙

    • @tedybg
      @tedybg 2 роки тому

      @@ProgramWithGio
      I thank you! Such lessons are rare.
      I really like the way you organize the information and the speed is perfect :)
      Have you thought about doing a section with lessons about Laravel from the beginning?

    • @ProgramWithGio
      @ProgramWithGio  2 роки тому

      @@tedybg you're too kind. I think there are a lot of great beginner Laravel courses out there including Laracasts. I'm planning on doing more advanced lessons

  • @construxzionsoft
    @construxzionsoft Рік тому +1

    Fantástico. un tutorial 😀realmente grandioso.

  • @theodoretoke
    @theodoretoke Рік тому +2

    Thanks!

  • @johnjohnson3772
    @johnjohnson3772 5 місяців тому

    Thank you Gio!

  • @chronydevlogs8527
    @chronydevlogs8527 Рік тому +1

    jesus i came from c/c++ background and i found php very weird and unusual
    like the concept of variable variables and the name of a constant is variable
    that's a mess but LOL i'm enjoy it thank you for your effort explaining all this concepts for us

  • @klama1983
    @klama1983 6 місяців тому

    Thanks Gio!

  • @californication2000
    @californication2000 2 роки тому

    this shouldn't be free, nice job

  • @Silent_tuts
    @Silent_tuts Місяць тому

    really amazing appreciated

  • @dgloria
    @dgloria 3 роки тому +1

    great content, even as an advanced dev. :)

  • @KamilPLGT
    @KamilPLGT Рік тому

    g r e a t tutorial series! thanks a lot

  • @sheikhraisulislam4483
    @sheikhraisulislam4483 Рік тому

    really deep sir

  • @farhanatique2077
    @farhanatique2077 Рік тому

    Awesome videos.

  • @ahmedmahdy6676
    @ahmedmahdy6676 2 роки тому

    Thank you!

  • @Amkhaz
    @Amkhaz Рік тому

    @2:36 how did you select all the lines before the ; and write the code ??
    you are very fast man, amazing

    • @ProgramWithGio
      @ProgramWithGio  Рік тому

      That's multi cursor editing, press alt + click

  • @companydamascus8098
    @companydamascus8098 2 роки тому

    Thank you dear

  • @tracyshyla
    @tracyshyla Рік тому

    You are teaching as if we already know everything

    • @ProgramWithGio
      @ProgramWithGio  Рік тому

      Not really, I explain everything in detail. I do expect you to know or remember some things from previous lessons sure, that's why it's a series and not a single video course.

  • @ilya_123__
    @ilya_123__ Рік тому

    thank you

  • @TrentonTompkins
    @TrentonTompkins 6 місяців тому

    It is interring. I think in old version of PHP, doing something like $z = ($x=25)/($y=2) would return 14 or 15, because when you divided 2 ints, it would give the answer as an int by default. I just tried it in PHP 8.2 and got 14.5, so that is a nice change.

    • @ProgramWithGio
      @ProgramWithGio  5 місяців тому

      hm, I don't remember that unless you would cast to int or it was doing some type coercion it would still return 14.5 even in older versions. If you had a function that had type declaration of `int` and you passed the computed value as an argument then yes it would be coerced to int & would return 14

    • @TrentonTompkins
      @TrentonTompkins 5 місяців тому

      @@ProgramWithGio Tbh, it might be C++ that did that.

  • @imadmoujahid3431
    @imadmoujahid3431 11 місяців тому

    Amazing!! what about Laravel ? learning series. ?

    • @ProgramWithGio
      @ProgramWithGio  11 місяців тому

      You can subscribe for updates here for Laravel course: learnlaraveltherightway.com

  • @EhsanShahbazii
    @EhsanShahbazii 4 місяці тому

    Your channel is a hidden gem. Subscribe 🎉

  • @kenjohnsiosan9707
    @kenjohnsiosan9707 2 роки тому

    thank u sir

  • @AugustoDiaz
    @AugustoDiaz 2 роки тому

    Your content is amazing! I might suggest you do not repeat so many times that you are going to talk about this or that content in a separate video because it spoils the flow. Thanks for such a nice work!

  • @zichangprayingtothelord6087
    @zichangprayingtothelord6087 3 роки тому +1

    hello,sir, i wonder wut shortcut key you used for coding 4 lines at same time?

  • @HocineFerradj
    @HocineFerradj Рік тому

    good

  • @learner2593
    @learner2593 2 роки тому

    Can I use instead of ?
    Is there any difference?

    • @ProgramWithGio
      @ProgramWithGio  2 роки тому

      is fine, I'm used to due to xhtml habits but is perfectly fine

  • @rimantasdanilevicius6754
    @rimantasdanilevicius6754 3 роки тому +1

    What GIO stands for? I googled it, but I what to make sure :D

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому +2

      It's short for my name which is Giorgi. Everyone calls me Gio :)

    • @rimantasdanilevicius6754
      @rimantasdanilevicius6754 3 роки тому +5

      @@ProgramWithGio Nice to meet you Giorgi! Btw, I red your description on youtube and you coding since 2000 and that explains why your tutorial so clear and you really make points on important things. So far I really feel like I found GOLD on youtube :D

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому +2

      @@rimantasdanilevicius6754 Thank you so much. This means a lot to me, thanks again for the kind words. I look forward to creating more content.

    • @rimantasdanilevicius6754
      @rimantasdanilevicius6754 3 роки тому +2

      @@ProgramWithGio No rush, take your time. It should be fun for you not like a job. I just letting you know that there are some junior developer which waiting some good mentors online like you :) Who knows, maybe after your teaching, mindset and skill set will be like mid developers :)

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому +2

      @@rimantasdanilevicius6754 It is definitely fun. As long as you are consistent & eager to learn, you'll do great. I'm here to help along the way if you have questions, so don't hesitate to ask 👍

  • @rxxt-sh1vj
    @rxxt-sh1vj 2 роки тому

    Whats the difference between compile time and runtime in terms of PHP ??

    • @ProgramWithGio
      @ProgramWithGio  2 роки тому +1

      PHP file gets parsed & builds machine code (operational code), its not something you can read like a regular code. This is the compilation part, thats where the syntax errors & such come from. Then there is runtime when the code gets executed

    • @rxxt-sh1vj
      @rxxt-sh1vj 2 роки тому

      @@ProgramWithGio Thanks bro :)

  • @junaethossain9692
    @junaethossain9692 3 роки тому +1

    This course is paid ? You can upload private video for this reason ?

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому +2

      No it's not paid, not sure what you mean by private video? Some videos are scheduled to be released in couple of days so maybe that's what you saw

  • @utilizator500
    @utilizator500 Рік тому +1

    9 minutes in I made up my mind. PHP is a cursed language, just like JS.

    • @ProgramWithGio
      @ProgramWithGio  Рік тому +2

      It's not for everyone 👍. Some like it some hate it.

  • @sheikh4218
    @sheikh4218 5 місяців тому

    can i get all course practice code files?

    • @ProgramWithGio
      @ProgramWithGio  5 місяців тому +1

      Everything is in the descriptions of the videos. Some videos don't have any material, most do towards later episodes

  • @subjectfrank
    @subjectfrank 2 роки тому

    can we say "php is not type-safe language"?

    • @ProgramWithGio
      @ProgramWithGio  2 роки тому

      Its becoming more type-safe as time goes on, especially when you enable strict types & typehint everything

    • @subjectfrank
      @subjectfrank 2 роки тому +1

      @@ProgramWithGio Thank you very much for your help gio

  • @daz1uk
    @daz1uk 2 місяці тому

    Weird type system in PHP. Strict mode all the way.

    • @ProgramWithGio
      @ProgramWithGio  2 місяці тому +1

      Heh, yea I prefer strict types as well

  • @asiajeremiah619
    @asiajeremiah619 Рік тому

    Videos quality is too low can't see code clearly

    • @ProgramWithGio
      @ProgramWithGio  Рік тому

      It's in 1080p and later videos in 4k so I think quality is great. Maybe it's showing low quality on your end due to connection? Try clicking the gear ⚙️ icon and adjust the quality

  • @victorpinasarnault9135
    @victorpinasarnault9135 Рік тому

    I don't know why my code greeting is not being showed in the browser. I type:
    $saudacoes = 'Ola Victor';
    echo $saudacoes .'';
    It's correct, right?
    But it didn't appear.

    • @ProgramWithGio
      @ProgramWithGio  Рік тому

      It could be due to many reasons, what is your document root set to, where is your PHP file and so on. If you share screenshots of your setup I can help troubleshoot it. You can DM me on Twitter

  • @milad6864
    @milad6864 2 роки тому

    thank you

  • @Domnyus
    @Domnyus Рік тому

    good