Running PHP 1.0 in 2024

Поделиться
HTML-код
  • Опубликовано: 9 июн 2024
  • I downloaded the source of PHP 1.0, compiled it on modern MacBook, then wrote a simple CGI server using PHP 8.3, and then tried to understand what was PHP 1.0 actually capable of doing. Spoiler alert: not much.
    The code can be found here: github.com/pronskiy/php1_in_2024
    The PHP Foundation thephp.foundation/
    The video is inspired by this blog post habr.com/ru/articles/787250/ from Artem Ukrainskiy.

Комментарии • 39

  • @kAlvaro
    @kAlvaro Месяц назад +40

    I'm impressed by how useful PHP was from the very first day. Awesome video, thanks for making it.

  • @phpannotated
    @phpannotated Месяц назад +31

    ❤ PHP

  • @sadhakbj
    @sadhakbj Месяц назад +7

    Subscribed. Hope to see amazing contents in the future.

  • @slyosrs
    @slyosrs Месяц назад +2

    Great video Roman. I have always been curious about the early versions of PHP but I knew I'd never get it working to test it out. This video was rather insightful and I found it very fascinating.

  • @Jelle-DV
    @Jelle-DV 10 дней назад +1

    Super interesting to see it in action!

  • @medilies
    @medilies 27 дней назад +6

    I love the low level tidbits

  • @sparkytoday3
    @sparkytoday3 26 дней назад +2

    Loved your video as a noob in php seeing this video was just WOW.

  • @EvgenyOskin
    @EvgenyOskin Месяц назад +1

    Great demonstration 🫶

  • @eyemazed
    @eyemazed 27 дней назад +1

    awesome video!

  • @syracuse4612
    @syracuse4612 Месяц назад +4

    Your first video ❤🎉

  • @maxbrown1
    @maxbrown1 Месяц назад +5

    Вижу Романа Пронского ставлю лайк )

  • @mandokir
    @mandokir 19 дней назад

    Good video 🙂 Nice speedrun.

  • @MilMike
    @MilMike 20 дней назад

    really cool! brings back memories.

  • @turbo2ltr
    @turbo2ltr 22 дня назад +3

    Been writing php since the early/mid 2000s. Even have a php tattoo. I don't understand all the hate it gets. Unlike the countless "modern" frameworks that need additional frameworks to fix the frameworks. I never liked frameworks, even php frameworks because they always locked you in some how.. Yes it might be more work, but I like the low level aspect of php. I can always do EXACTLY what I need to do.

    • @jan.tichavsky
      @jan.tichavsky 19 дней назад

      I used to write PHP some 20 years ago, made my own photogallery with multiple users contributing photos and comments. But those were just hobby projects. Couple months ago I started to realize my new project so even I hardly used PHP in between it was still my natural choice. Quick to prototype working solution and get it running couple pages, like you say, without any framework needed. Every minute it keeps parsing real time transport data and saving the info into PostgreSQL which I haven't used before. Fun project and it keeps running on its own without major issues.

  • @namaefumei
    @namaefumei 25 дней назад

    Great video! Would love to see a video about the history of web from dev perspective

  • @GuruEvi
    @GuruEvi 23 дня назад

    I remember that era. A lot more was left over to the developer/sysadmin. The problem with lots of forms of that era was zero input validation. You saved form results as the video shows, but you often had the username or e-mail as the form name, which means that if you input /etc/passwd you can actually input a valid password file. Nowadays that would be a major issue, back then it was blown of as: just don’t give your web server those permissions.

  • @PiotrFilipek
    @PiotrFilipek 13 дней назад

    Hi! I see you use a MacBook Pro. What model do you recommend to advanced programming? I have been using Ubuntu for many years and I want to switch to Mac, but I don't know what spec I should choose. In my daily work I use PHP with PHPStorm, SQL client, Dockers, mail client, MS Teams, Spotify, Todo app, etc. I am most interested in your opinion on RAM.

    • @pronskiy
      @pronskiy  13 дней назад +2

      I have a MacBook Pro, 14-inch, 2021 with the Apple M1 Max and 32 GB of RAM, and I absolutely love it! The performance, battery life, and screen are all fantastic. The only potential downsides are the Apple ecosystem and the price. But if those aren't deal-breakers for you, it's a great choice.
      As for RAM, I think for dev needs 32GB or more is great, 16GB could be ok too, but I wouldn't go less than that.

  • @soniablanche5672
    @soniablanche5672 17 дней назад +1

    did this dude really just run php 1.0 with a server written with php ?

  • @koroll_rakov
    @koroll_rakov Месяц назад +1

    дай бог здоровья за видос! восславим же, братия, язык слона и мамонта)
    а в следующем году и вообще будет лютый юбилей)

  • @taintedtapper
    @taintedtapper 19 дней назад

    Hi Roman! Just wanted to know what your IDE in this video was? Thanks.

    • @pronskiy
      @pronskiy  19 дней назад

      @@taintedtapper it's PhpStorm

  • @juanpablodiazalbarracin7182
    @juanpablodiazalbarracin7182 Месяц назад +1

    I think I love PHP

  • @dynamohack
    @dynamohack 26 дней назад +1

    those who love php i love them and coincidentally my birth is same as php and i am so glad to know this

  •  21 день назад

    I've started using php from version 3. Already forgot that PHP means Personal Home Page 😆

  • @igorpopov1587
    @igorpopov1587 Месяц назад +1

    🎉

  • @MaxCupertino-gf5ht
    @MaxCupertino-gf5ht 22 дня назад

    Love you php
    Love this video
    ❣️❣️❣️❣️❣️

  • @zerocoll20
    @zerocoll20 6 дней назад

    It looks like how things are developed today, lol.

  • @anna-plink
    @anna-plink 20 дней назад

    I had no idea PHP is older than me 😂

  • @tolbydamit
    @tolbydamit Месяц назад

    I didn't think objects were added until PHP 4...

    • @pronskiy
      @pronskiy  Месяц назад +9

      There were not indeed. Here I'm using PHP 8.3 to write CGI Server and then run PHP 1.0 with it.

  • @ROX2
    @ROX2 25 дней назад

    Прикольный эксперимент, ужасы компиляции остались за кадром

    • @pronskiy
      @pronskiy  13 дней назад

      Кстати нет :-) На удивление стандартный компилятор GCC на маке справился вообще без проблем с кодом 29-летней давности.

  • @seriouslyWeird
    @seriouslyWeird 3 дня назад

    this channel is supposed to be played at 1.5x speed