This high level history of PHP passed my desk — I didn’t start using the language until version three (and I still, to this day, forget access modifiers on my class method names or type things like public thisIsMyMethod because the typing cadence for defining a method was two words) so it’s nice to have some high level [...]
astorm
This entry is part 4 of 6 in the series Just Enough C for PHP. Earlier posts include Just Enough C for PHP, Just Enough C for PHP: Running C Programs, and Just Enough C for PHP: Variables and Types. Later posts include There's no Such Thing as PHP, and Just Enough C for PHP: Make Basics. First, a quick note from your author. When I [...]
astorm
Suhosin is an older PHP extension that tries to lock down common security attack vectors in PHP. This locking down includes preventing phar applications (like pestle) from running. If you’re using Suhosin and want to use PHAR archives you’ll need to configure things properly.
astorm
I found this out from a random banner on Shopify support page while trying to figure out why my store’s email had stopped working so I figured I’d signal boost it. Hooks are HTTP requests Shopify sends out when an order’s made that include order information. They’re sent to your servers, and let you do all sort of [...]
astorm
This whitepaper from Nexcess isn’t your usual “Hey look, we’re sucesful enough to pay a consultant for a whitepaper so we must be stable” affair. Instead it’s a methodical look at every layer of Nexcess’s Magento hosting stack and how they optimize each one for a Magento 2 system. I thought it was a [...]
astorm
Probably not of wide interest, but this GitHub repo with a PHP Parser written in Go rings several of my current bells.
astorm
Over on my sleepy patreon I posted a public example of of the sort of things I’m working on w/r/t Magento these days. My screencasts are still lagging behind when compared to the sort of things being done at Mage2.tv, but the content’s still useful and it’s good speaking practice for me
astorm
Another set of slides from a Benoit Jacquemont talk I would have loved to see. My high level summary Don’t forget that your PHP program isn’t talking with anything directly, all activity goes through the your operating system’s kernel, and there are tools (strace on linux) for looking at the system calls your program is [...]
astorm
This Stack Overflow post about some weird differences between direct instantionation of an Array vs. using the new Array constructor function is a great example of why coding standards can be more than just window dressing. It’s not that one of the methods is better than the other, but by chosing one over the other you avoid the [...]
astorm
Given the date on the Stack Overflow post that saved me this is probably old hat for most of you, but it looks like the MySQL configuration provided by Ubuntu 18’s default apt-get repositories defaults to using “the auth_socket plugin”, which links your MySQL logins with your actual system login. Gave me a bit of the [...]
astorm