home.social

#phpkonf — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #phpkonf, aggregated by home.social.

  1. Prepping demos for my upcoming talks at 🇹🇷 and 🇩🇪.

    What if could... 🚀 Server-Side Render (SSR) Web Components written in JS with enhance.dev, running as HTTP middleware via http-wasm.io, powered by ⚡️ and 🐘?

    Come and find out! 👀"

  2. Next stop: Istanbul! 🇹🇷 Excited to be speaking at about and . This talk is all about making 'what ifs' come true. What if we could write PHP extensions in JavaScript? What if a app could be bundled as a cross-platform binary? What if PHP scripts could run truly async?

    Come and find out phpkonf.org! 🚀

  3. Oh man, I already feel a bit stupid :thisIsFine:... I completely misinterpreted the 'Never* use arrays' #PHP talk by @Crell at the #PHPKonf and the benchmarks at the end...
    I assumed that a native array of something (int, string, object...) would use twice as much memory as a type-safe array-object implementation.
    I think what Larry meant was that associative arrays, as an object replacement, use twice as much memory. It was never a …

    [1/2]

    github.com/lrotermund/php-arra

  4. Last night I stumbled across a much too little liked talk by @Crell from #PHPKonf - "Never* use arrays".

    youtube.com/watch?v=nNtulOOZ0G

    Really exciting approaches to making your own #PHP code faster and more memory efficient. Btw @Crell are the benchmarks still accurate in the currently actively supported versions of PHP? I was particularly impressed by the HALVING of memory consumption.

    At the moment, I still use a lot of arrays in constants in classes for consistent, constant mapping of …

    [1/2]