actually, this is a really great tutorial, in fact, your tutorial is totally understandable and I am happy that you elaborate what is the difference between a comparison operator and an identity operator.
Not knowing what the topic is, I can't really provide an informed opinion, but you have done a fantastic job explaining complex and often nuanced concepts throughout this tutorial. So I am looking forward to this mystery topic wherever you decide to insert the video.
11:00 you bet we would like to learn more about the internals of PHP explained as simply as possible! Actually, I'd be happy to see some kind of step by step breakdown of what happens to a piece of PHP code when it gets executed. How variables are assigned, how method calls are associated with their definitions, etc.
Eagerly waiting for memory management, variable allocation related videos, also performance optimization and things like that which helps to make good quality software is always required and necessary for us, so please make videos on those topics.
I really liked that you took us under the hood for a bit to talk about how things work. Being new to programing, it kind of helps me (psychology though) to hear more about some details under the hood. Thanks Gio
Hi, great tutorial so far. Do you plan to talk about development, staging and production in some future video? Or does the video already exist and i just didn't find it? :D
Hello. Towards the end of the series, we'll work on a project that we'll deploy in production. Might cover the staging part also, we'll see, that's a good suggestion. Thank you
1. How does this relate to an object that is stored in the session array, e.g. $_SESSION['invoice'] = new Invoice(25, 'My Invoice'); and then $invoice = $_SESSION['invoice']; - do these both refer to the same object in memory, and so updating something in $invoice will update the $_SESSION['invoice'] also, and vice versa? 2. Any difference if it is an object that a value in another array, e.g. $year2022 = array('jan' => new Invoice(25, 'Jan Invoice')); and $invoice = $year2022['jan'], are these pointing to the same object in memory, so updating either $invoice or $year2022['jan'] makes changes to the same object? 3. If you have created this video already that covers memory management, garbage collection, etc, then it'd be great if you linked it in the description, thanks!
Looking forward to the more in depth discussion on this subject that you said you were creating. Is it in the 3rd section? If so, what is the name of the video?
I decided not to include it in this series for now. Planning to make it as a separate lesson, not yet though since the plan is to first finish the PHP series
HI, please just a quick clarification. Following the lecture. The == is returning true, when I use the comparision operator. $invoice1 = new Invoice(25, 'My Invoice 1'); $invoice2 = new Invoice(100, 'Invoice 2'); var_dump($invoice1 == $invoice1); this is returning true while the === is returning False(This is perfect) since both points to different objects in the memory.
Hi, I was find out the reason for my result. It has to do with dynamic property creation. I am using php 8.1.9. Read more here wiki.php.net/rfc/deprecate_dynamic_properties
In first var_dump you have a typo, you are comparing $invoice1 to $invoice1 so its comparing the same object, change to $invoice1 == $invoice2 then it will return false.
You're so brilliant & very impressive content. After the end of this series can you create some projects with PHP & MySQL? It would be a great help for every beginner for learning PHP. Thank you so much, Gio ❤♥♥
Almost 4 years as a PHP Developer and it's my first time learning about this. What a great course.
Great to hear that, thank you 💙
I truly appreciate how meticulous you are in presenting concepts as well as how they function under the hood. Long live your channel, Gio!
Thank you 💙
That is by far the best lessons concerning programming I’ve ever had. I’m so glad it is concerning PHP. Thank you so much, I’m learning a lot from it.
Glad you like it, thank you
Yes, i personally really want you to tell us sometimes how php works under the hood, maybe this will help at the job interview :DD
actually, this is a really great tutorial, in fact, your tutorial is totally understandable and I am happy that you elaborate what is the difference between a comparison operator and an identity operator.
Thank you. Glad you think so 🙌
Not knowing what the topic is, I can't really provide an informed opinion, but you have done a fantastic job explaining complex and often nuanced concepts throughout this tutorial. So I am looking forward to this mystery topic wherever you decide to insert the video.
Good content .Thanks for explaining this concept in an easiest way
You're welcome & thank you 👍
Thank you Gio, these lessons and the way of your teaching are great!
Thank you 🙌
all clear. well done.
Thank you
Perfect material. Thank you. Concise and full info
Glad to hear, you're welcome 💙
11:00 you bet we would like to learn more about the internals of PHP explained as simply as possible! Actually, I'd be happy to see some kind of step by step breakdown of what happens to a piece of PHP code when it gets executed. How variables are assigned, how method calls are associated with their definitions, etc.
Sounds good, noted. I really like to dive into the source to find how things work & I'm sure it's interesting to you & others as well.
Eagerly waiting for memory management, variable allocation related videos, also performance optimization and things like that which helps to make good quality software is always required and necessary for us, so please make videos on those topics.
Noted, thank you
I really liked that you took us under the hood for a bit to talk about how things work. Being new to programing, it kind of helps me (psychology though) to hear more about some details under the hood. Thanks Gio
Glad you liked it. Thank you 🙌
Your videos are extremely useful. Thanks a bunch!
Glad you like them 💙
yes we love detailed lessons that you explain how things works behind sense
Awesome 😎
Thank you, waiting for more lessons from you.
Another amazing and intuitive topic. Thanks a ton :)
Thank you
fascinating !!! You are a champion!!!!! 💫💫💫
Thank you 💙
Good idea, Gio. Looking forward
Me too, pretty excited about it
Nice one, looking forward to the behind the scene PHP lessons 😁
Super, as usual, Thanks alot.
Glad you like it, thank you 🙌
Amazing video and very interesting. I'll check if you've done that video u talk about
Thank you.
💙
thank you!
You're welcome!
Like to hear more about internal behaviour and structure of php
And great videos!!!
Noted, thank you 🙌
amazing
Thank you! Cheers!
It might be already in the further sections - but indeed it would be helpful to see how things work on the lower levels for PHP!
👍👍
This video is 2 years old. Did you made video about "How php keeps vars"? Your course is very good. Thank you.
Thank you. No unfortunately I have not had the time to work on that video. Been busy with other stuff
@@ProgramWithGio In any case , we will wait :) . Thank you.
Nice lesson, I would to know in detail how the variables and objects are stored in PHP including references
Thank you 💙. There is a lesson about that in second section
Of course, more interesting stuff to learn.
And if you judge the content to be advanced, then put it in the advanced section. I'm almost there 😄
Not sure I understand 🤔. This lesson is for intermediate sections
@@ProgramWithGio I was referring to the request made at the end of this video.
@@ntdash2153 ah I got it now 🙂
Hi, great tutorial so far. Do you plan to talk about development, staging and production in some future video? Or does the video already exist and i just didn't find it? :D
Hello. Towards the end of the series, we'll work on a project that we'll deploy in production. Might cover the staging part also, we'll see, that's a good suggestion. Thank you
@@ProgramWithGio Thank you too!
1. How does this relate to an object that is stored in the session array, e.g. $_SESSION['invoice'] = new Invoice(25, 'My Invoice'); and then $invoice = $_SESSION['invoice']; - do these both refer to the same object in memory, and so updating something in $invoice will update the $_SESSION['invoice'] also, and vice versa?
2. Any difference if it is an object that a value in another array, e.g. $year2022 = array('jan' => new Invoice(25, 'Jan Invoice')); and $invoice = $year2022['jan'], are these pointing to the same object in memory, so updating either $invoice or $year2022['jan'] makes changes to the same object?
3. If you have created this video already that covers memory management, garbage collection, etc, then it'd be great if you linked it in the description, thanks!
1. Yes, it's easy to test, you can try it out
2. Yes
3. Have not created that video yet
@@ProgramWithGio i hope u do soon
man thanks
You're welcome
Looking forward to the more in depth discussion on this subject that you said you were creating. Is it in the 3rd section? If so, what is the name of the video?
I decided not to include it in this series for now. Planning to make it as a separate lesson, not yet though since the plan is to first finish the PHP series
HI, please just a quick clarification. Following the lecture. The == is returning true, when I use the comparision operator.
$invoice1 = new Invoice(25, 'My Invoice 1');
$invoice2 = new Invoice(100, 'Invoice 2');
var_dump($invoice1 == $invoice1);
this is returning true while the === is returning False(This is perfect) since both points to different objects in the memory.
Hi, I was find out the reason for my result. It has to do with dynamic property creation.
I am using php 8.1.9. Read more here wiki.php.net/rfc/deprecate_dynamic_properties
In first var_dump you have a typo, you are comparing $invoice1 to $invoice1 so its comparing the same object, change to $invoice1 == $invoice2 then it will return false.
What is the name of the video that was mentioned in this video? have you uploaded that video?
I haven't made that video yet, did not get a chance to get around it unfortunately
You're so brilliant & very impressive content. After the end of this series can you create some projects with PHP & MySQL? It would be a great help for every beginner for learning PHP. Thank you so much, Gio ❤♥♥
Thank you. We are already working on a PHP project in this series called Expennies, keep watching & you'll get to it.
if you made that video that explain zval plz tell me where I can find it
Unfortunately I did not have time to make that video 😔
Any news about the more advanced lesson about how variables are stored in PHP? 😊
I decided to keep that off this series & make a video about it outside of the series. I'll probably get back on it once this series is over.
@@ProgramWithGio sounds good!!!
Php 8 continue
PHP 8 is 🔥
I do, Gio. Under the hood stuff, please
👌