A few days ago I pushed out a very small library to help with testing APIs using Guzzle: dshafik/guzzlehttp-vcr. https://twitter.com/dshafik/status/634549904996737024 This is a simple middleware that records a request’s response the first…
For those that don’t know (and I usually mention it in my talks), I am hard of hearing, and earlier this week I tweeted this: https://twitter.com/dshafik/status/626900587624448000 Over the following few days it…
With PHP 7 errors and exceptions are undergoing major changes. For the first time, the PHP engine will start to emit exceptions instead of standard PHP errors for (previously) fatal, and catchable…
Yesterday on Twitter there was a conversation started by Marco Pivetta regarding a particularly horrible bit of code he had spotted: ->execute(constant(sprintf('%s::PARAMNAME', get_class($api)))); What the actual f***? — magic method with side…
Pre-Release Software This blog post is about PHP 7.0 which at the time of writing is currently pre-release software (7.0.0alpha2) and subject to change. While updating my PHP 7 talk “What to…