Recent Tweet
- I said 'like' so many times in a description of Journey I cried upon playback. 1 hour ago
I was doing some PHP work after a long hiatus. You get used to one language and when you back to another, you just forget things sometimes. I received an unexpected T_AS. Parse error: syntax error, unexpected T_AS, expecting ‘;’ in /homepages/224/d19925234/htdocs/kdelli/working/index.php on line 18 The error is so descriptive! Well, more so than others, [...]
The post tile was a little misleading. PHP.net has the full changeset for the PHP 5.4alpha. Two remarkable language features coming in PHP 5.4. Array dereferencing, or calling a function and acting upon it directly as if it were an array. In addition, a new short syntax for creating arrays akin to the JavaScript array [...]
PHP 5.4 compatibility warnings on creating default object from empty value. The WordPress trac had a ticket filed that mentions PHP 5.4 and I mentioned its imminent arrival in the wake of a very specific host not supporting even the latest stable version of PHP 5.3 officially. I wonder about the future of PHP.
A few days after wondering where PHP 5.3 support was on 1and1, I found this little gem in the 1and1 FAQ: PHP 6 support. The full document explains that you can but shouldn’t enable PHP 6 because it’s in developmental stages. When I throw an .htaccess file with the PHP6-ify directive, AddType x-mapp-php6 .php, in [...]
PHP 5.4 proposed general availability for 2011. I mistyped 5.3 and wound up with 5.4. My search came back with a bunch of PHP 5.4 news. So, there is hardly broad support for PHP 5.3 and little usage as it is. PHP 5.4 is apparently coming soon then with at least a few new features.