PHP 8 Crash Course for Beginners - Learn PHP 8 in 1 Hour

  Рет қаралды 24,773

Code With Dary

Code With Dary

Күн бұрын

Пікірлер: 42
@didzisuzulins2092
@didzisuzulins2092 Жыл бұрын
PHP dev with 20 years experience here. And I'm looking to refresh and improve my knowledge, that's why I watched your video with critical view - what have I missed or what's new in PHP. At switch..case I literally facepalmed and decided to write this comment. Let's start from beginning. 1. echoing single and double quotes the difference is in fact that PHP parses content of double quoted string to search variables while single quoted strings are echoed as they are. Years ago people stated that single quotes execute faster. Theoretically yes, but I have never tested it. 2. It would be great if defining constants you mentioned predefined constants, like PHP_VERSION or magic constants like __FILE__ or __LINE__, just as an example. 3. Illustrating logical operators at if..else statements, a great example would be plain if(true && true){... and if(true && false){... Sure, real world examples are great, but IMHO for beginners it could be easier to understand what's happening under the hood with plain true && false. 🙂 4. The best illustration for identical (===) comparison is. If you don't get it, just try to run it.
@codewithdary
@codewithdary Жыл бұрын
Thank you for your feedback, definitely taking it into consideration for my next preparations!
@AlexS-e8q
@AlexS-e8q 3 ай бұрын
Great Video, did the course and didn't crash my first PHP project ur an amazing educator!
@jcspaziano
@jcspaziano 3 ай бұрын
Thank you! This is just what I needed to get back up to speed with php! Ive been out of the game since 6!!
@kvelez
@kvelez 7 ай бұрын
55:27 Great trick, wow.
@codewithdary
@codewithdary 7 ай бұрын
Thank you :)
@hamdikurdi
@hamdikurdi Жыл бұрын
you are really a great guy I appreciate you but bro we need big projects in php like building systems in php.
@codewithdary
@codewithdary Жыл бұрын
Yes and once I do that no one watches 😜
@blabla415
@blabla415 Жыл бұрын
at 39:53 you say that you check if $username has been set. Though it's not really the case. You're checking if $username is truthy, which means it checks that $username is none of these values: false, ""(empty string), 0.0, 0, "0", [] (empty array), null
@codewithdary
@codewithdary Жыл бұрын
Used the wrong wording here! I'm sorry and thank you!
@shoyeb25
@shoyeb25 Жыл бұрын
Nice video, please make video on advanced topics and OOPs in PHP
@codewithdary
@codewithdary Жыл бұрын
Next up :)
@rootroot1601
@rootroot1601 20 күн бұрын
When showing use of Arithmetic signs; this % sign is referred to as modulus not percentage
@moresnacksplease526
@moresnacksplease526 3 ай бұрын
Are the definitions of 'argument' and 'parameter' switched in PHP? I always thought parameters are the data representations used during function construction, and arguments are the data provided during the function call.
@olaideabiola2344
@olaideabiola2344 Жыл бұрын
Thanks for the video, I guess you made a little mistake, parameter is passed at the function definition and arguments are the value passed when function is being called and not the other way round like you said
@codewithdary
@codewithdary Жыл бұрын
Whoops, still happens all the time 😓
@olaideabiola2344
@olaideabiola2344 Жыл бұрын
Yeah it happens sometimes besides I've watched the 7 hours video and it's awesome but I just have tough time with the login system, the multiple nested if statements here are there mskes it so hard for me to take in so please If you can make an authentication system video that will be more simplified. Thanks
@codewithdary
@codewithdary Жыл бұрын
I understand, but authentication systems shouldn't be 'simple' though...
@Marc-zi4vg
@Marc-zi4vg 3 ай бұрын
_me after watching this video_ **okay where's my lambo?**
@jake445
@jake445 9 ай бұрын
Do you prefer functional programming or oop in php?
@codewithdary
@codewithdary 9 ай бұрын
OOP any day of the week :)
@janaramon1232
@janaramon1232 Жыл бұрын
Php 8 and above have match() instead of switch case ,would have been better if you had included that too.
@codewithdary
@codewithdary Жыл бұрын
It's an addition, its not 'stead of'
@janaramon1232
@janaramon1232 Жыл бұрын
@@codewithdary ik,i just said it in context with php 8,most people already know switch case exists in lower versions too,here your tuto is about 8 not lower versions,otherwise what would be the point of making video on 8.
@codewithdary
@codewithdary Жыл бұрын
I didn't create a video to show the differences between PHP versions, just showing the most used / and must know topics when learning PHP.
@janaramon1232
@janaramon1232 Жыл бұрын
@@codewithdary yeah no problem with that ,was just pointing it out!
@branchyapple
@branchyapple Жыл бұрын
Cool video! nicely edited
@codewithdary
@codewithdary Жыл бұрын
Thanks!
@hubesh716
@hubesh716 Жыл бұрын
plz make Ecommerce Project With React js and Laravel API from scratch plz sir plz
@JuanLopez-b2f2s
@JuanLopez-b2f2s 6 күн бұрын
Dickinson Fort
@coolg6574
@coolg6574 Жыл бұрын
20:04 32:50
@MalachiPayne-y9o
@MalachiPayne-y9o 6 күн бұрын
Cummings Prairie
@nathann4291
@nathann4291 8 ай бұрын
There must be a part-2
@codewithdary
@codewithdary 7 ай бұрын
One day :)
@KathleenPierre-m6s
@KathleenPierre-m6s 13 күн бұрын
Koss Harbors
@RobtSteele-c3p
@RobtSteele-c3p 15 күн бұрын
Roger Trail
@CraigCarl-w5n
@CraigCarl-w5n 3 күн бұрын
Orn Fields
@ChereHeckers-j3s
@ChereHeckers-j3s 3 күн бұрын
Cummings Pines
@arkhanzaeni-tl7zv
@arkhanzaeni-tl7zv 7 ай бұрын
Hp gue nge crash
@codewithdary
@codewithdary 7 ай бұрын
Thank you I guess :)
@kamilwojtalak7464
@kamilwojtalak7464 Жыл бұрын
@codewithdary
@codewithdary Жыл бұрын
PHP Crash Course for beginners
27:43
packetcode
Рет қаралды 52 М.
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 100 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 21 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 23 МЛН
PHP doesn't suck (anymore)
10:48
Aaron Francis
Рет қаралды 206 М.
JavaScript Tutorial for Beginners: Learn JavaScript in 1 Hour
48:17
Programming with Mosh
Рет қаралды 13 МЛН
ChatGPT-o1 Created A Programming Language...
19:45
Conner Ardman
Рет қаралды 17 М.
PHP 8 3 Released
11:03
ThePrimeTime
Рет қаралды 107 М.
Are we going back to PHP with fullstack JavaScript?
9:57
Maximilian Schwarzmüller
Рет қаралды 141 М.
PHP in 100 Seconds
2:21
Fireship
Рет қаралды 1,3 МЛН
C# Tutorial For Beginners - Learn C# Basics in 1 Hour
1:10:32
Programming with Mosh
Рет қаралды 5 МЛН
Laravel 11 Tutorial for Beginners - Laravel Crash Course (2024)
1:22:20
The Codeholic
Рет қаралды 179 М.
PHP For Beginners | 3+ Hour Crash Course
3:15:36
Traversy Media
Рет қаралды 779 М.
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 100 МЛН