Mostly useful to passing PHP INI settings to wrapper scripts like phpcs and phpunit.
Post tagged: PHP
Rasmus Lerdorf has been tweeting this morning about concatenation vs. interpolation in PHP. Micro-optimizations to be sure, but an interesting look under the hood.
Rasmus presented the State of PHP 2012 at Etsy. Here are some pretty raw notes, with approximate times.
From the PHP 5.4.0 RC1 "NEWS" file. Traits, array dereferencing, CLI built-in web server, and more.
Cleanup your file caches while you're still using them.
Should you give a rat's ass about being competitive with PHP?
I've had issues in the past where symlinked web directories don't point to the correct file after the symlink target is changed.
I've been updating various old pieces of code after our PHP 5.3 upgrade yesterday afternoon. Today,
call_user_func_array() has been a recurring theme.
Everyone wants what they don't have.
So I wrote a post about testable classes in PHP, and before I even hit "Publish" I read something on StackOverflow that challenged some of my opinions. I wrote that I didn't need testable factories, but what if I did?
I've been thinking a lot about unit tests, lately. In the Bad Old Days I could var_dump() my way through a problem and deal with the consequences, but that isn't good enough any more. Today, I want my tests to run themselves, and that's forcing me change the way I structure my code.
PHP 5.3.0 looks promising.
Here's how I created local mirrors of the online documentation for several projects under Mac OS X 10.5.6.
Memorize the order of operations, I guess.
Don't gobble my markup.
Transactions should be supported by everything.