This is the channel which inspired me in creating my own UA-cam channel. It is an absolute honor creating content for TraversyMedia. Huge Thanks to Brad for that opportunity.
Thanks so much for creating the course. For anyone that is interested in PHP and other web technologies, visit Zura's channel - ua-cam.com/channels/_UMEcP_kF0z4E6KbxCpV1w.html
Just finished the course. The idea to make it for beginners is very nice and Zura is obviously a pro at this stuff. Just one advice - if you are doing course for beginners - DO NOT CUT AND PASTE pieces of code. Let your course will be half an hour longer, but please, just type everything. Time saving and shortcuts are for professionals, but for beginner it's much easier to understand process when it's presented and explained step by step. Otherwise - nice course and obviously we just barely scratched the surface. Thank you!
PHP, language abandoned by its "father", abandoned by mainstream "programmers", but its trucking along for decades ever improving and never giving up regardless of what the popular opinion is. PHP8 is just another proof that this language is here to stay, if you needed any proof at all. Godspeed to all the PHP developers and many new to come!
Abandoned? It’s the most popular language for Wordpress and other CMSs, as well as most popular for backend outside the US. Don’t let hype youtubers tell you any different.
at 5:08:38, another solution for the ones using PHP 8 can be making every function static in the ProductController, because "call_user_func()" doesn't work in no-static function
I changed it to a static function but it still gives me the same error. Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class "app\controllers\ProductController" not found in C:\xampp\htdocs\php-crash-course-2020\14_product_crud\good\Router.php:54
@@michaelumeokoli I really don't know, I stopped learning PHP because it was an assignment and I didn't like it like JS or python, but with the name of the error you should be able to find answers on StackOverflow
I don't know what people expect from PHP, can't understand the hate to be honest. This is rediculous, it's web language. Many websites and frameworks based on it. I use Laravel in my daily job and I can say that's the easiest and fluent framework of PHP to use, it's like C++ for web. I love it. Also PHP is really interesting on itself! And it's exciting to write your own stuff for work, even a framework. Edit: I like Symphony too.
Instead of doing the tags with var_dump($array), you can use echo json_encodes($array) prints out a much more user friendly version of an array without the all the details.
I watched your previous UA-cam course on PHP and I learnt a lot from it. This one is already looking more promising. I'm binge watching this and taking notes
Pro tip: don't take "notes". Instead: 1. Write code 2. Comment your code to flesh out the details 3. Write documentation about your project. Source: ua-cam.com/video/VCWzQpUwsaw/v-deo.html
Really good video for people who is programming generally, and needs to learn basic of PHP. It's easy to understand, and we don't have to waste time on basic concepts. I love this format
Thanks for this tutorial. I didn't learn php fully before jumping to laravel. This tutorial makes me feel like understanding laravel even more. Thanks alot
I got into PHP in 1998 or so. I first learned a bit of Perl, then moved to PHP and still love it. Great video content. I'm hoping I can find time to go through all six hours. Thanks!
NOTE: In the current version of PHPStorm (2021.2.2), the include-related problem at 4:08:40 can be solved by enabling "Search for variable's definition outside the current scope" in Settings/Editor/Inspections/PHP/Undefined symbols/Undefined variable".
I am a big fan of you, actually a student of you. You are the best youtube for my life, you make my life better. thanks a lot, sir, I have all your videos.Thanks again.
02:57:09 In HTML5 the action attribute is optional, but if you include one, it must not be empty. To submit to the same page, just remove the action attribute: . The old way was valid in HTML4, because the attribute was not optional.
@TheCodeholic , thanks for the video , i learn one or two new things. But i have to point out something that are unnecessary or are wrong: unnecessary : - since this video is for beginners, you should not impose or teach pattern / architecture like MVC because it is more advance thing. What you should teach is we should separate the logic (PHP) from presentation layer (HTML). - virtuallhost : it is not a need thing because you upload to a shared host you can not do that configuration. And even if you can , you should put / use .htaccess files for that instead by putting one inside main folder of the project which will direct to the public folder) and another htaccess file inside the public folder with the code that you use in the virtualhost. - custom router:: it a thing for advance not for beginners the wrong : - i think the you have definition of each part of MVC wrong. the Controller beside load view should do the validation and call the model and the respective method. In model should be responsible to do the database crud related to Product But you put in Database Class and that is wrong . - you shoud have created a BaseController which have the renderView and extended in ProductController - Composer is capable of autoloading simple files with functions too, it is not restricted to Class base files. It is no need to create a Class just for utils fn. LOL. - For requirements of video is missing that you ( the viewer ) should know SQL, because can happen mistakes like you did when you were testing the update. LOL. And you should have created a BaseModel or with ProductModel should extended Database and with that you have you pdo instance instated of static prop. And to finished you should not impose or said to who are watching the video tat should use frameworks, because that always depends of the project and its size. For simple things you do not need a framework. You may library for routing or a template engine, not a complete framework.
timestamp 1:43:11 Thank you for the video really helpful, just giving another solution how to make function to calculating numbers in PHP Maybe will help any one function sum(...$numbers){ if(! $numbers){ return; } $nums = implode('+', $numbers); $return = eval("return $nums;"); return $return; } echo sum(1, 255, 100, 955);
I am a newbie and before starting this tutorial I had already had a biased opinion about PHP due to the developer community noise but I have changed my opinion and I think Php language is a pretty easy language to understand if you just take your time.
Cheers bro this may have saved my life, I’m 4 weeks behind on my uni course and this has given me some hope. It’s pretty cool that u kinda sound like Bas Rutten aswel
this is the first video that i have seen which is actually a "crash course". All the basics are included...wonderful. Love the flow of the video too...from the start to the end it is a grand journey!
Let them come ;) I will never understand "hating" a programming panguage or framework, etc. It is a tool. It works well for A LOT of people including me for years as a freelancer. If someone doesn't like it, don't use it. Simple as that.
@@saboorhamedi5413 Yeah, laravel is awesome. Especially for building a complex app with something like Vue where you want to hide your api keys without using something host-specific (like netlify's serverless functions).
Thanks to Traversy Media and all the team , for creating such a wonderful and informative course, I am great fan of yours, You are such an authentic person. Your courses are the best, thanks once again Brad and teams
@The Codeholic : Great video, I finished it all but took me longer than 6 hours haha. I got lost at some parts but it covered so so much in a very short 6 hour session. Thank you
Thank you for the tutorial. I'm a beginner looking for information about how to work with PHP. I don't have a background in computer science or an engineer diploma, but I did understood like 75% of what you have showed here. I'll have to search for what is a "router", "Model, View, Controller", "PDO", paradigms, and how to write bad code first (hahahahahahah). Thanks for sharing.
Thanks for this amazing tutorial. I want to add a note in 5:23:42 we can use compact in the controller and extract in the render method so we don't have to use foreach that will make it easier and more readable.
because of this course I don't hate php any more, I am Javascript developer and I hated php for a long time because it seems old and boring I really hated when I see the .php in page urls but I didn't know we can make Routes like Reactjs in php this is really amazing.
Great course overall. Honestly, I learnt a lot but the most useful part (MVC part) is useless for beginners. Basically, MVC part is a "watch me how I code" video, nothing explained like the rest of the course. MVC, OOP, arrows everywhere, properties, public and static functions, getters, this, that, these, those without explanations or why implement it... WTH! Do you know what I mean? I'm not able to get good version of the crud done by myself without copying the code like a robot because I don't know what I am doing from almost the first line. Anyway, thanks for the course, Zura. A big like for that.
This video is really good for getting the idea of how to create projects with proper code. Still, this video will be a bit hard for absolute beginners to follow, it's a lot easier when you know a bit of javascript. Thanks for the tutorial sir! :D
it has been a year now, i was learning this language 3 weeks ago and non of what i have been seen in other courses is here why i hate php i truly do , there is just so many things to do and to learn, F WORD TO PHP
Just finished the tutorial it took me about a week. You will encounter some bugs on the last MVC Crud application. Just make sure you have php 7.4 before you attempt this tutorial.
Oh man so informative i have never seen this kind of crash course in my whole life... Brad This person is a real warrior like you i just love the way he teaches thanks Brad and The Codeholic for such an amzing crash course :)
Updated php tutorials have stagnated or are less publicized for some time. Although this technology has continued to evolve and is used widely. What makes this lack of modern vanilla php tutorials a paradox. Thank you Zura and Brad, for this vast and excellent tutorial.
35:10 So confused. Why is there a pre-defined constant in PHP called SORT_ASC that has the value of 4? How is that useful? I understand PHP_INT_MAX being pre-defined, that makes sense.
some PHP built-in functions has so many options that alter their behavior. The options are passed as agurmants. Since underlying code of PHP built-in functions treasts those options as a set of numbers -if it is 2 behave like that, if it is 3 behave like this and so on. PHP made it easier for the programmers to remember those option's keys (numbers) by creating global constants that are much more understandable and semantic to humans. In your case, SORT_ASC is assigned '4' because '4' is the option for sorting an array in ascending manner in the sort() function. sort(array &$array, int $flags = SORT_REGULAR): bool the $flags argument is where you would pass the value '4' or, to take readablity into account: SORT_ASC. They both make the sort() function sort the array in ascending mode but the readability is much better when using the global constant SORT_ASC
The system you have with the comments in each file and the code written under it is by far the easiest to read through, even way later on in time! Congrats on the great job and idea man! Thank you!
This is the channel which inspired me in creating my own UA-cam channel. It is an absolute honor creating content for TraversyMedia.
Huge Thanks to Brad for that opportunity.
ზურა, ამისთვის ვიარე ნახევარი წელი ლექციებზე რომ 6.5 საათში აგეხსნა ხალხისთვის?
Thanks so much for creating the course. For anyone that is interested in PHP and other web technologies, visit Zura's channel - ua-cam.com/channels/_UMEcP_kF0z4E6KbxCpV1w.html
@@TraversyMedia Thank you Brad.
totally agreed with you, he is excellent at teaching, feel like he was born for teaching to code.
Wow. I am following just the best tutorial guys and somehow all ended up here...
Great to see you here Man, I mean it!
PHP is a beast!
that 6.5 hrs took me 1.5 weeks to finish the course and I learn a lot, thank you so much.
took me 3 weeks,not done yet
Just finished the course. The idea to make it for beginners is very nice and Zura is obviously a pro at this stuff. Just one advice - if you are doing course for beginners - DO NOT CUT AND PASTE pieces of code. Let your course will be half an hour longer, but please, just type everything. Time saving and shortcuts are for professionals, but for beginner it's much easier to understand process when it's presented and explained step by step. Otherwise - nice course and obviously we just barely scratched the surface. Thank you!
Good comment 👍 👌 👏
Suggest me another tutorial if you can, iam begginer and dont understand MVC here. CONFUSED IN MANY OTHER THINGS😑😑
@@UroojFatima-eg9ep search for Traversy Media, Program With Gio, Code With Dary. They were my teachers for a long time and still are.
PHP, language abandoned by its "father", abandoned by mainstream "programmers", but its trucking along for decades ever improving and never giving up regardless of what the popular opinion is.
PHP8 is just another proof that this language is here to stay, if you needed any proof at all.
Godspeed to all the PHP developers and many new to come!
I'm PHP all the way - root for the underdog I say.
Abandoned? It’s the most popular language for Wordpress and other CMSs, as well as most popular for backend outside the US. Don’t let hype youtubers tell you any different.
at 5:08:38, another solution for the ones using PHP 8 can be making every function static in the ProductController, because "call_user_func()" doesn't work in no-static function
THANK YOU!! I was so stuck.
Thanks
I changed it to a static function but it still gives me the same error.
Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class "app\controllers\ProductController" not found in C:\xampp\htdocs\php-crash-course-2020\14_product_crud\good\Router.php:54
@@michaelumeokoli I really don't know, I stopped learning PHP because it was an assignment and I didn't like it like JS or python, but with the name of the error you should be able to find answers on StackOverflow
@@Working800 thanks i fixed it it was a namespace/autoloading mistake by me.
Shout out to the guys who make money with PHP while guys in the comment section say PHP is dead and still don't have a job lol
Here from Twitter!
PHP still runs 75% the web, it's not going anywhere any time soon
I don't know what people expect from PHP, can't understand the hate to be honest. This is rediculous, it's web language. Many websites and frameworks based on it. I use Laravel in my daily job and I can say that's the easiest and fluent framework of PHP to use, it's like C++ for web. I love it. Also PHP is really interesting on itself! And it's exciting to write your own stuff for work, even a framework.
Edit: I like Symphony too.
hey Joe I was so inspired from your previous works man
I'm glad to shouted this out on Twitter because I need a deep brush up on PHP. This looks great for that.
Instead of doing the tags with var_dump($array),
you can use echo json_encodes($array) prints out a much more user friendly version of an array without the all the details.
I'm PHP developer for 3 years , and I still learn new things thanks to you guys !
Hey, Including PHP {core-Advance} what else we need to learn..for backend
@@UK00009 Laravel
I watched your previous UA-cam course on PHP and I learnt a lot from it. This one is already looking more promising. I'm binge watching this and taking notes
Pro tip: don't take "notes".
Instead:
1. Write code
2. Comment your code to flesh out the details
3. Write documentation about your project.
Source: ua-cam.com/video/VCWzQpUwsaw/v-deo.html
I've been trying to get into PHP to learn Wordpress for 2 months but never knew where to start. Thanks Brad and Codeholic!
hi mark pls how do u get ur files out of wordpress so u can start backend edit on visual studio
@@sammylary6540 with winscp or other ftp program
you gay
Perfect timing. I'll finish this over the weekend and I can start with real projects on the job from Monday.
This is my first PHP course and it's really great. It covers everything I need to know as a beginner! Thank you for your hard work!
I have a very strong feeling that by the time I am done with this course, I would have learned so much. Thank you.
Did you learn ?
Hey glad to see you here bud!
Thanks Dennis. Appreciate!!!
You all make awesome videos🤗🤗
you gay
I can see how much effort was put on this course, and I truly appreciate it. Thank you Codeholic!
@John Power I bet you're fun in parties..
6.5 hours WOW that is insane! Thanks!
Really good video for people who is programming generally, and needs to learn basic of PHP. It's easy to understand, and we don't have to waste time on basic concepts. I love this format
Thanks for this tutorial. I didn't learn php fully before jumping to laravel. This tutorial makes me feel like understanding laravel even more. Thanks alot
Been meaning to learn some php since even in 2020 freelance money mostly seems to be in wordpress. So thanks man.
I got into PHP in 1998 or so. I first learned a bit of Perl, then moved to PHP and still love it. Great video content. I'm hoping I can find time to go through all six hours. Thanks!
Hi there, I hope you are well, as an expert in php i want your advice ! Which i should learn for backend PHP or NODE JS ? I'm confusing !
NOTE:
In the current version of PHPStorm (2021.2.2), the include-related problem at 4:08:40 can be solved by enabling "Search for variable's definition outside the current scope" in Settings/Editor/Inspections/PHP/Undefined symbols/Undefined variable".
You are the best PHP teacher so far ever. Best video about PHP ever existed. Thanks!!!!
you gay
Awesome PHP is getting some love!
Love seeing PHP getting a little bit of respect
I am a big fan of you, actually a student of you. You are the best youtube for my life, you make my life better. thanks a lot, sir, I have all your videos.Thanks again.
It's amazing to have content like this for free on youtube ! What a great work ! Thank you so much !
Really good tutorial. Tomorrow I'm starting first job as php dev and it helped me a lot.
really ?
This is the thing I needed the most! Now I know what actually happens under the hood of those fancy frameworks! Thanks Brad and Codeholic!
1:43:09 , In case if you want to do the same thing with using a for loop:
function sum(...$nums){
$sum = 0;
for($i=0; $i
Just finished the course, the part about MVC was the best, now I have a more clear understanding about how other frameworks maybe works. thanks
I have been away from PHP for a while and this video was a great revision for me.Complete and easy to keep with instructor.
Many thanks😇
Can you help me with the namespace and autoloading?
I don't get why people bash PHP. Most systems and websites are built on PHP. Almost all jobs in my country are PHP/Laravel/Wordpress
@@akinoney Lithuania
in indonesian still popular too
ua-cam.com/video/BygCBfoPQnM/v-deo.html
@@akinoney PHP actually is the most popular language at China.
Don't listen to haters as they have agenda. Do your own research. PHP today is an excellent language and it keeps getting better and better.
I follow his channel. I don't like to compare but his yii course is the best that's available in UA-cam.
this guy is a whole vibe, I'm really loving this video learned so much
You are the best PHP instructor I have ever seen online thank you and thanks for my best ever channel Traversy Media, you doing great job guys.
Thanks so much Brad. I owe you 10% of my first tech job salary
I've gone through the entire course, you mean you covered all that in 6:30 Hours, that's serious. Wow.
02:57:09 In HTML5 the action attribute is optional, but if you include one, it must not be empty. To submit to the same page, just remove the action attribute:
.
The old way was valid in HTML4, because the attribute was not optional.
@TheCodeholic , thanks for the video , i learn one or two new things.
But i have to point out something that are unnecessary or are wrong:
unnecessary :
- since this video is for beginners, you should not impose or teach pattern / architecture like MVC because it is more advance thing. What you should teach is we should separate the logic (PHP) from presentation layer (HTML).
- virtuallhost : it is not a need thing because you upload to a shared host you can not do that configuration. And even if you can , you should put / use .htaccess files for that instead by putting one inside main folder of the project which will direct to the public folder) and another htaccess file inside the public folder with the code that you use in the virtualhost.
- custom router:: it a thing for advance not for beginners
the wrong :
- i think the you have definition of each part of MVC wrong. the Controller beside load view
should do the validation and call the model and the respective method. In model should be responsible to do the database crud related to Product But you put in Database Class and that is wrong .
- you shoud have created a BaseController which have the renderView and extended in ProductController
- Composer is capable of autoloading simple files with functions too, it is not restricted to Class base files. It is no need to create a Class just for utils fn. LOL.
- For requirements of video is missing that you ( the viewer ) should know SQL, because can happen mistakes like you did when you were testing the update. LOL.
And you should have created a BaseModel or with ProductModel should extended Database and with that you have you pdo instance instated of static prop.
And to finished you should not impose or said to who are watching the video tat should use frameworks,
because that always depends of the project and its size. For simple things you do not need a framework. You may library for routing or a template engine, not a complete framework.
Bookmarked! It may take me a month but I'm gonna follow every step. Wish me luck! 🎓
Did you finish
Did you finish bruh?
What's up? Done now, yeah???
Thank you so much for giving other people a chance to shine. They put in so much work and time making videos.
timestamp 1:43:11
Thank you for the video really helpful, just giving another solution how to make function to calculating numbers in PHP Maybe will help any one
function sum(...$numbers){
if(! $numbers){
return;
}
$nums = implode('+', $numbers);
$return = eval("return $nums;");
return $return;
}
echo sum(1, 255, 100, 955);
Wow. I am following just the best tutorial guys and somehow all ended up here...
Great to see you here Man, I mean it!
PHP is a beast!
I am a newbie and before starting this tutorial I had already had a biased opinion about PHP due to the developer community noise but I have changed my opinion and I think Php language is a pretty easy language to understand if you just take your time.
Cheers bro this may have saved my life, I’m 4 weeks behind on my uni course and this has given me some hope. It’s pretty cool that u kinda sound like Bas Rutten aswel
Thank you for the excellent php tut. Just what I needed to complete a project that I'm working on!
@Dermagrades ua-cam.com/video/746xBN3Fs9k/v-deo.html
Can you help me with the namespace and autoloading?
Excellent, php seems to be in very high demand where I live, this introduction is greatly appreciated, thanks!.
100% gold content.Recommended php tutorial to beginners
im taking php class in college this spring semester. This video is very helpful.
I really like the codeholic, i learn alot from his channel. 100% recommended
Thanks buddy
@@TheCodeholic I've just become a new subscriber. I like the way you educate us.
@@anthoniG Thanks buddy
you gay
this is the first video that i have seen which is actually a "crash course". All the basics are included...wonderful. Love the flow of the video too...from the start to the end it is a grand journey!
one of the most valuable php courses , great work
The PHP haters are coming!
😆
Let them come ;) I will never understand "hating" a programming panguage or framework, etc. It is a tool. It works well for A LOT of people including me for years as a freelancer. If someone doesn't like it, don't use it. Simple as that.
@@saboorhamedi5413 Yeah, laravel is awesome. Especially for building a complex app with something like Vue where you want to hide your api keys without using something host-specific (like netlify's serverless functions).
Now as we too late we are now learning laravel, do we have to come back again.
Haters gonna hate my friend but what about you 😁😁
i love symfony, laravel and php in general. also enjoyed this video!
Thanks to Traversy Media and all the team , for creating such a wonderful and informative course, I am great fan of yours, You are such an authentic person. Your courses are the best, thanks once again Brad and teams
Traverse Media is the channel that inspired me towards massive technology. i love you guys
thank you a lot for this cource, its the best choice for those who need learn something about php and have a few days for it !!!
Bookmark: 01:21:44 - Conditionals (If-else, switch)
This course is valuable course for PHP developers
Thank you so much ! This helped a lot in learning PHP for my apprenticeship!
This guy is a great teacher.
This course was so helpful. Esp the PDO section. Thanks.
Need to learn PHP for my next project at work. You are my hope.
@The Codeholic : Great video, I finished it all but took me longer than 6 hours haha. I got lost at some parts but it covered so so much in a very short 6 hour session. Thank you
Thank you for the tutorial. I'm a beginner looking for information about how to work with PHP. I don't have a background in computer science or an engineer diploma, but I did understood like 75% of what you have showed here. I'll have to search for what is a "router", "Model, View, Controller", "PDO", paradigms, and how to write bad code first (hahahahahahah). Thanks for sharing.
Great job and sincere intent
عمل عظيم ونية صادقة
It is best and simple tutorial of PHP. 👌👌
Huge thanks for this tutorial. Php is nuber one language in Uzbekistan. 👍👍👍
Thanks for this amazing tutorial. I want to add a note in 5:23:42 we can use compact in the controller and extract in the render method
so we don't have to use foreach that will make it easier and more readable.
you gay
This is the best programming channel ever!!
Dev ed: Why u do dis to me
ps: joking, you both are the best
Hello sir👋 I'm from Philippines and I really love your tutorial.
The best PHP tutorial ever! The arrangement of this tutorial is awesome.
Can you help me with the namespace and autoloading?
you gay
Great timing, I was planning on learning php during my work leave 🤓
Also, thank you Brad for introducing other dev to your channel
because of this course I don't hate php any more, I am Javascript developer and I hated php for a long time because it seems old and boring I really hated when I see the .php in page urls but I didn't know we can make Routes like Reactjs in php this is really amazing.
Great course overall. Honestly, I learnt a lot but the most useful part (MVC part) is useless for beginners. Basically, MVC part is a "watch me how I code" video, nothing explained like the rest of the course. MVC, OOP, arrows everywhere, properties, public and static functions, getters, this, that, these, those without explanations or why implement it... WTH! Do you know what I mean? I'm not able to get good version of the crud done by myself without copying the code like a robot because I don't know what I am doing from almost the first line. Anyway, thanks for the course, Zura. A big like for that.
This video is really good for getting the idea of how to create projects with proper code.
Still, this video will be a bit hard for absolute beginners to follow, it's a lot easier when you know a bit of javascript.
Thanks for the tutorial sir! :D
Thank you Codeholic! You are an amazing teacher!!! Also, thank you Traversy Media for having the Codeholic do this video!!!
you gay
You and Brad should make php/laravel course on udemy
it has been a year now, i was learning this language 3 weeks ago and non of what i have been seen in other courses is here why i hate php i truly do , there is just so many things to do and to learn, F WORD TO PHP
just finished the course. Thank you so much
I was a ruby developer, but due to Laravel and High demand of PHP developers, I switched and become Laravel Developer.
Are you french?
thanks for your hard work,
this video is one of the best crash courses i have ever seen
thanks..
Just finished the tutorial it took me about a week.
You will encounter some bugs on the last MVC Crud application.
Just make sure you have php 7.4 before you attempt this tutorial.
Thanks for making this course. I was missing the PHP content on this channel.
Maaan the amount of work you have done is just incredible, thanks a lot !!!
I am in love with laravel after watching this
how'd you watch a 6 hour tut in an hour
@@nickschmitt8594 skipped to mvc
This is what i just needed thank you
Oh man so informative i have never seen this kind of crash course in my whole life... Brad This person is a real warrior like you i just love the way he teaches thanks Brad and The Codeholic for such an amzing crash course :)
Updated php tutorials have stagnated or are less publicized for some time. Although this technology has continued to evolve and is used widely. What makes this lack of modern vanilla php tutorials a paradox.
Thank you Zura and Brad, for this vast and excellent tutorial.
You did a great job explaining so much in relatively limited time.
Really helpful for me, thanks Brad!
Good English (voice) , good whole basic course. Even I understood what you're saying. Thx
Just a perfect tutorial! Thans a lot to The Codeholic and Zura!
35:10 So confused. Why is there a pre-defined constant in PHP called SORT_ASC that has the value of 4?
How is that useful?
I understand PHP_INT_MAX being pre-defined, that makes sense.
some PHP built-in functions has so many options that alter their behavior. The options are passed as agurmants. Since underlying code of PHP built-in functions treasts those options as a set of numbers -if it is 2 behave like that, if it is 3 behave like this and so on. PHP made it easier for the programmers to remember those option's keys (numbers) by creating global constants that are much more understandable and semantic to humans.
In your case, SORT_ASC is assigned '4' because '4' is the option for sorting an array in ascending manner in the sort() function.
sort(array &$array, int $flags = SORT_REGULAR): bool
the $flags argument is where you would pass the value '4' or, to take readablity into account: SORT_ASC. They both make the sort() function sort the array in ascending mode but the readability is much better when using the global constant SORT_ASC
Developed my first web by your guidance thanku dude🥰
Dude it's only been 3 min since the video was uploaded!
@@accidentlyfellandateshawarma bro I have downloaded HTML and CSS videos of this UA-camr here's my website ivoter.tk
Damn, this video cover all my school year in 6 hours.
Starting from the Composer part, I go down hill 😵🤯 Thank you for the awesome videotutorial, though 🙏
Just got a job. I already know C# and JavaScript but they want me to lean PHP so here I am
Very Nice ! Was waiting for it
The system you have with the comments in each file and the code written under it is by far the easiest to read through, even way later on in time! Congrats on the great job and idea man! Thank you!