PHP's evolution over the years

I've got a pretty good example to illustrate how much PHP has changed over the past decade.

Пікірлер: 169

  • @UCdtq8L-sPVBtmc7676MuQzw
    @UCdtq8L-sPVBtmc7676MuQzw Жыл бұрын

    He forgot to mention named arguments in PHP 8.0. I really love that feature.

  • @NathanBudd
    @NathanBudd Жыл бұрын

    Wow! I am using PHP every day, and I wasn't aware of all of this. Great video!

  • @HaraldEngels
    @HaraldEngels Жыл бұрын

    Having generally been part of the evolution (with my code base) I am still not fully up to date with all PHP 8.1 features. But what I like with PHP is that I was able to always upgrade my project with approx. 800 classes quite fast to a quite modern PHP version (with making a good use of the new features). Therefore I am glad that I had chosen PHP 15 years ago for web-development. PHP never let me down.

  • @camilocasadiego5509
    @camilocasadiego55092 жыл бұрын

    I love how I worked with PHP on 2001, the just got back 2 years ago, and its a totally different ecosystem, great to see great tools evolve!

  • @tautvydaskarvelis5872
    @tautvydaskarvelis58722 жыл бұрын

    I really enjoy your informative and easy-to-understand videos. Keep going, Brent!

  • @sadhakbj
    @sadhakbj Жыл бұрын

    Long live PHP, we need more and more contents.

  • @NickBPalomino
    @NickBPalomino2 жыл бұрын

    Nice video, really clear and straightforward... Kudos!

  • @tentaklaus9382
    @tentaklaus93822 жыл бұрын

    Liked and subscribed - mainly commenting for the YT algo to help you get the visibility you deserve. The accent may take a bit of getting used to but always great to hear someone so succinctly summarise something technical. Keep up the good work 👍

  • @paddev5901
    @paddev59012 жыл бұрын

    Short but clear and informative. Keep it up!

  • @DanelonNicolas
    @DanelonNicolas2 жыл бұрын

    Amazing, thank you so much for this video. I love php and this is an awesome showcase :D

  • @antoine5038
    @antoine50382 жыл бұрын

    Very good video and interesting format, keep it up :D

  • @anthonypetruzzi158
    @anthonypetruzzi158 Жыл бұрын

    That was actually really fun to watch. Excellent example of showing how the language has evolved.

  • @flashnfantasy
    @flashnfantasy2 жыл бұрын

    After 12 years of PHP i left for python and js. Do not really regret it. PHP is fine, has matured. For big programs it still may be the best choice. It deserves more attention. I still know most of the structures, most of the keywords. This video helped me to keep up. I wish more of these videos, for people who are experienced programmers, but not exactly on this topic. Videos, that explain by example, how to improve code from common knowledge to high level.

  • @0xDEAD_Inside

    @0xDEAD_Inside

    2 жыл бұрын

    Yeah neither do I. Also there are major upcoming performance improvements in python which I am looking forward to.

  • @raxonthebeat
    @raxonthebeat2 жыл бұрын

    good work king, love you

  • @pinedae
    @pinedae Жыл бұрын

    I have really avoided PHP all these decades but this video demonstrates the sophistication that is available now.

  • @AmitMerchant
    @AmitMerchant2 жыл бұрын

    Crisp and concise! 👌

  • @AlexShawOnline
    @AlexShawOnline2 жыл бұрын

    I enjoy coding in PHP. It is a truly dynamic language. I too started using it at its early stage. I rarely use classes with PHP, which I plan to start doing. However, sometimes, I work with JSON with PHP. I think it is a nice language. Enjoyed this video!

  • @The-Dev-Ninja
    @The-Dev-Ninja2 жыл бұрын

    thank you, never used php, but after you video seems easy and interesting :) instant sub, this is very well done video, congrats

  • @lhsazevedo
    @lhsazevedo2 жыл бұрын

    Great video Brent, thanks

  • @neiliusflavius
    @neiliusflavius2 жыл бұрын

    I've barely ever used PHP, and that was probably about 20 years ago, but a very clear and interesting video - quite radical change over time.

  • @mapron1

    @mapron1

    2 жыл бұрын

    Looks like they added classes there - that's all I understood

  • @verdun5298

    @verdun5298

    Жыл бұрын

    @@mapron1 they were already, just new types i think

  • @mapron1

    @mapron1

    Жыл бұрын

    @@verdun5298 I used version of PHP without classes. That was 20 years ago or smth.

  • @debelserarne
    @debelserarne2 жыл бұрын

    Great example, pretty straight forward !

  • @codigomovil
    @codigomovil2 жыл бұрын

    Perfect explanation!! New subscriber!! 👍🏻

  • @toblamabor7072
    @toblamabor70722 жыл бұрын

    Just perfect! Thanks a lot from France!!

  • @nikomdq2
    @nikomdq22 жыл бұрын

    Awesome! well done !

  • @user1200006354654
    @user12000063546542 жыл бұрын

    Great content!!

  • @SpliffSplendor
    @SpliffSplendor2 жыл бұрын

    Thanks! Great Summary!

  • @malikg3485
    @malikg34852 жыл бұрын

    Thank you for this! Super cool video! A+++

  • @hari2013
    @hari20132 жыл бұрын

    Really Good One...

  • @ahmedslink
    @ahmedslink Жыл бұрын

    great one

  • @lostcarpark
    @lostcarpark2 жыл бұрын

    Really useful stuff!

  • @andreasek341
    @andreasek3412 жыл бұрын

    Love this!

  • @yam-kingdev598
    @yam-kingdev5982 жыл бұрын

    best video format

  • @Ainigma
    @Ainigma2 жыл бұрын

    Good demonstration.

  • @ziarv
    @ziarv2 жыл бұрын

    Very Informative 👏

  • @BboyKeny
    @BboyKeny Жыл бұрын

    After a long hiatus my professional life brought me back to PHP. I like that they've added type hinting. I do feel that DTOs are a roundabout way to make immutable structs but it's very nice that they've made them more concise. Can't wait till generics are released, that would bring PHP to the standards of strong typed languages I think.

  • @panossavvaidis6086
    @panossavvaidis60862 жыл бұрын

    Most tutorials and community resources for PHP on the internet that makes PHP look so degraded. We need to see PHP in a fresh look for sure

  • @brenoverissimo3846

    @brenoverissimo3846

    2 жыл бұрын

    @@phpannotated you're helping for sure.

  • @RobertoGPuentesDiaz
    @RobertoGPuentesDiaz2 жыл бұрын

    Great video

  • @AdamCulp
    @AdamCulp2 жыл бұрын

    Nicely contained

  • @bobbyiliev_
    @bobbyiliev_2 жыл бұрын

    Super cool!

  • @miguelgd1985
    @miguelgd19852 жыл бұрын

    awesome!

  • @BrunoGomes-su1bk
    @BrunoGomes-su1bk2 жыл бұрын

    Thats amazing

  • @mactavish7287
    @mactavish72872 жыл бұрын

    Totally Deserved that Like!!!

  • @ernestmugo1765
    @ernestmugo17652 жыл бұрын

    Instant sub!

  • @llBestBoyll
    @llBestBoyll2 жыл бұрын

    cool video 👌🏼

  • @SachinKumarSahu
    @SachinKumarSahu2 жыл бұрын

    Been few years since I have used only PHP to create a backend, now it feels good to see it grow.

  • @derghiarrinde
    @derghiarrinde2 жыл бұрын

    amazing, thank you.

  • @derghiarrinde

    @derghiarrinde

    2 жыл бұрын

    I just switched to 8.1 from 5.3, wanted to do this for a long time but only found motivation for it due to this video.

  • @kayden2189
    @kayden21892 жыл бұрын

    Insane!

  • @danield2729
    @danield27292 жыл бұрын

    Nice summary

  • @mapron1
    @mapron12 жыл бұрын

    I left web development a while ago, so I need a video 'evolution from PHP 4 to PHP 5.6' to catch up first...

  • @twentieth_r
    @twentieth_r2 жыл бұрын

    I've been programming in PHP since about 2002, and it's still unbelievable to me to this day the advances that have happened over the last 2 decades. PHP is by far and above the best of the best... it's why it's stood the test of time. It's why I'll always choose it over React or other JS frameworks to do data transactions of any type.

  • @agungdarmanto5139
    @agungdarmanto51392 жыл бұрын

    Short & clear as your videos how the PHP evolution nowadays!

  • @MePeterNicholls
    @MePeterNicholls2 жыл бұрын

    I’m getting back in to dev after over five years break. (Previous customer’s needed major updates!) and php 8 blew my mind

  • @SlavaCh
    @SlavaCh2 жыл бұрын

    I have a strange experience with php. it’s my first programming language. I’ve been making my best hobbie projects and freelance experience for my first 5 year in web dev. But after I switched to nodeJS+Vue and was going progress in this direction for a 3 year. And then I’ve got my first official work like backend developer on PHP (How is possible?). But finally I still switched back to nodeJS+Vue and got job like fullstack dev.

  • @oliverkobing4726
    @oliverkobing47262 жыл бұрын

    Nice

  • @xackspel
    @xackspel2 жыл бұрын

    Thanks, and you are welcome)

  • @SebastianSipos
    @SebastianSipos2 жыл бұрын

    cool. could have introduced some structs or smtn. I've left php at 7.1 and haven't looked back

  • @GergelyCsermely
    @GergelyCsermely2 жыл бұрын

    Thanks

  • @mibrahim4245
    @mibrahim42452 жыл бұрын

    I always liked PHP native to learn and build everything from scratch, which gives better experience and knowledge .. I finally learned PHP laravel now, and life became a loooooooooot easier ... Hails PHP

  • @user-qd6hj2fn4w
    @user-qd6hj2fn4w2 жыл бұрын

    спасибо!

  • @ReViv4L
    @ReViv4L2 жыл бұрын

    TBH, the feature I wish for most is Dynamic getters/setters on property level, wether it's PHP attributes or annotations, that would be dope.

  • @erkan.arslan

    @erkan.arslan

    2 жыл бұрын

    PHP has __get() and __set() magic methods for that but I understand that you want to define this for each property separately.

  • @ReViv4L

    @ReViv4L

    2 жыл бұрын

    @@erkan.arslan I'm well aware, and that's not the same thing as a standard #[get] and #[set] attribute on property level or @getter @setter. Using magic methods to reduce dump code is evil. You'd need either composition or inheritance on all your classes to enforce consistency. At that price, using the IDE ability to generate getters and setters is less pain.

  • @superfluidity

    @superfluidity

    2 жыл бұрын

    Why do you want them? In most cases read only properties seem to be enough. Although I can see more value in c# style get / set in the case of published code, where you want to be able change it later without creating a backwards compatibility breakage.

  • @ReViv4L

    @ReViv4L

    2 жыл бұрын

    @@superfluidity As I said earlier, to remove "dump code". This has nothing to do with readonly properties. It would enable you to enforce encapsulation without writing dump getter/setter methods. Think of it as Lombok to Java. #[getter] #[setter] private string $property; instead of public function getProperty(): string {....} public function setProperty(string $value): string {....} In most cases, these are dump functions. (public properties are a no go)

  • @superfluidity

    @superfluidity

    2 жыл бұрын

    @@ReViv4L Why are public properties a no go? If your getter and setter are compiler generated isn't that just a public property with extra steps?

  • @yifanyes
    @yifanyes2 жыл бұрын

    Awesome ! PHP needs more love, some people say it's dead but it is consistently upgrading and becoming a more refined version of itself

  • @science_trip

    @science_trip

    2 жыл бұрын

    Their brain is dead and they don't know it!

  • @MohammadNajmiBachok
    @MohammadNajmiBachok2 жыл бұрын

    What do you mean from 5.6 to 8.2? I've been missing PHP since version 4. 🤨

  • @PaulSebastianM
    @PaulSebastianM2 жыл бұрын

    Shows how any language can evolve to become much better than what it once was, and up to par with pretty much everything else. So, no need to switch stacks all the time, unless you really want to try something different. Or else stay on your stack, become an expert, and you can make the same or more as with anything else, pretty much. Being language agnostic, at least in the sense of what language is better, is much more valuable and productive to you as a developer, because you'll be learning even from languages you don't use on a regular basis or at all.

  • @jfolz

    @jfolz

    2 жыл бұрын

    ... except there's backwards incompatible changes even in minor releases of PHP, so who knows if your stack still works.

  • @pawelxyztemp
    @pawelxyztemp2 жыл бұрын

    I'm happy that PHP has started to evolve again after some stagnation. Great video as always 🤗👍

  • @davidmurphy563
    @davidmurphy5632 жыл бұрын

    Aw, I remember PHP. Used to code with it, blimey, was it ten years back? Maybe more. Before it was asp classic which was antiquated even then. Using python now obviously but good to hear it's still going. I liked the dollar signs.

  • @is-sam
    @is-sam2 жыл бұрын

    What about setters, can we have protected properties with getters and setters without writing them ?

  • @is-sam

    @is-sam

    2 жыл бұрын

    @@phpannotated Oh so readonly properties are not read only ? You can change the value after initialization ?

  • @r.pawlow
    @r.pawlow2 жыл бұрын

    Rather unsettling, that it took so many iterations o_o

  • @dfordemo981
    @dfordemo9812 жыл бұрын

    PHP is amazing | I love PHP

  • @Blast-Forward

    @Blast-Forward

    2 жыл бұрын

    Ever used something else? No? Thought so.

  • @science_trip

    @science_trip

    2 жыл бұрын

    @@Blast-Forward I'm coding since 1999 and I'm writing code in a lot of languages. Assembly, C, C++, Visual Basic, Java, C#, Python, JavaScript, Dart, PHP. PHP is a great choice as serverside language.

  • @gusik89

    @gusik89

    Жыл бұрын

    @@Blast-Forward Ever used PHP? No? Thought so.

  • @Guardian1224
    @Guardian12242 жыл бұрын

    I think you missed the most important improvement since 7.x+... Dramatic code execution speed compared to 5.x...

  • @shappyd1038
    @shappyd10382 жыл бұрын

    how do tutorial step by step

  • @faruknasir1921
    @faruknasir19212 жыл бұрын

    I like this guy. He is funny.

  • @peteralpha7659
    @peteralpha76592 жыл бұрын

    I love soft soft so so so so much!

  • @user-wd8dq3dw6o
    @user-wd8dq3dw6o2 жыл бұрын

    Finally a working method

  • @lI-bh5xt
    @lI-bh5xt2 жыл бұрын

    What about ruby and ruby on rails?

  • @dibbyo456
    @dibbyo456 Жыл бұрын

    I love PHP so much.. it’s far better than Python.

  • @johnpapathanasis3248
    @johnpapathanasis32482 жыл бұрын

    Nice but zoom in and use black theme. Too bright on an oled 5" screen.

  • @mr7clay
    @mr7clay Жыл бұрын

    Great but you missed one. Ability to use named arguments when instantiating.

  • @alexblack43
    @alexblack432 жыл бұрын

    Why did he start only from 5.6? PHP 3.* also was very popular 20 years ago.

  • @afiasheikh416
    @afiasheikh416 Жыл бұрын

    excellent presentation but code was hard to read. use bigger font perhaps.

  • @TariqSajid
    @TariqSajid2 жыл бұрын

    How to speedup php like nodejs can handle 18k request on single core but can only do 1k

  • @bluecafe509

    @bluecafe509

    2 жыл бұрын

    ReactPHP does the same thing as Node.js

  • @dnxsol
    @dnxsol2 жыл бұрын

    I don't mind leaving a like down below.

  • @hinaqazi6344
    @hinaqazi63442 жыл бұрын

    like u read my mind

  • @nabeelyousafpasha
    @nabeelyousafpasha2 жыл бұрын

    Respect from Pakistan 🇵🇰

  • @user-lk1fw1lp8b
    @user-lk1fw1lp8b2 жыл бұрын

    One note: DTO is not OOP at all, there is no encapsulation.

  • @AbdelghaniGUILIGHE
    @AbdelghaniGUILIGHE Жыл бұрын

    done ✅

  • @Xewl
    @Xewl2 жыл бұрын

    It is very much alive. 😉

  • @Randych
    @Randych2 жыл бұрын

    No memes?

  • @howhello354
    @howhello3548 ай бұрын

    So, all is just syntactic sugar 😂

  • @streetcoder76
    @streetcoder762 жыл бұрын

    Okay, interesting. I left PHP at 5.6. Now I'm stuck in Javascript which I hated from the first day but it's easy money...

  • @lawrencedoliveiro9104

    @lawrencedoliveiro9104

    2 жыл бұрын

    Consider that there is a book called “JavaScript: The Good Parts”. There is no book called “PHP: The Good Parts”.

  • @torpedo0101
    @torpedo01012 жыл бұрын

    I guess php 10.x will be just an empty file

  • @godofwinetits3826
    @godofwinetits38262 жыл бұрын

    Already switched to python, Its not about you PHP Its about me

  • @TravisFont
    @TravisFont2 жыл бұрын

    You forgot named arguments, intersection types, and most importantly enums 😛

  • @TheoDeligiannidis
    @TheoDeligiannidis2 жыл бұрын

    when we get to one line the next step would be AI

  • @andrewkamoha4666
    @andrewkamoha46662 жыл бұрын

    Even more briefly: So, in 10 years PHP main improvements are in OOP?

  • @ngochunglongnguyen4523

    @ngochunglongnguyen4523

    2 жыл бұрын

    You tallked like a blind man who touches an elephan's foot and said an elephan looks like a pipe.

  • @andrewkamoha4666

    @andrewkamoha4666

    2 жыл бұрын

    @@ngochunglongnguyen4523 You talked like a bullshit random generator online.

  • @science_trip
    @science_trip2 жыл бұрын

    Thanks to this video, like and subscript and the bell from me too

  • @12washere
    @12washere2 жыл бұрын

    PHP 10.0 will soon be simpler like python

  • @RealHomeboy
    @RealHomeboy2 жыл бұрын

    Just a proper cast system, inline strong typing and getting rid of the $ sign and it would much better than it already is.

  • @CottidaeSEA

    @CottidaeSEA

    2 жыл бұрын

    Yeah, the $ especially just feels redundant.

  • @lawrencedoliveiro9104

    @lawrencedoliveiro9104

    2 жыл бұрын

    When I first encountered PHP, it looked like they were trying to copy Perl without actually understanding how it worked. Which is where the “$” came from: in Perl, you have “$”, “@” and “%” prefixes for scalar, array and hash variables respectively. PHP tried to do it all with “$”, with some unfortunate consequences. (If you aren’t distinguishing cases, why have the prefix at all?) Nowadays, they have switched to trying to copy Python, again without actually understanding how it works. For example, look at how they stuffed up iterators.

  • @jozzan99
    @jozzan992 жыл бұрын

    Why would you say that's Object oriented? I would specifically Argue it's not. No polymorphism nor methods. This is now basically a struct, no?

  • @davidjames1684
    @davidjames16842 жыл бұрын

    No background info for people that are new to this? Not very helpful.

  • @corv882002
    @corv8820022 жыл бұрын

    Do people still use php?

  • @arunabraham9382

    @arunabraham9382

    2 жыл бұрын

    There are big companies using php in enterprise applications and doing successfully.

  • @ojsojs6004

    @ojsojs6004

    2 жыл бұрын

    Absolutely. Many new small and enterprise projects are being created with PHP

  • @necrogami1

    @necrogami1

    2 жыл бұрын

    Even apple has started new projects recently with PHP.

  • @vijayrana8133

    @vijayrana8133

    2 жыл бұрын

    Of course people use php and will continue to use it.