Recent Tweet
- So on Kimmel, the joke that kids thought Pandora was a country didn't for me (it was from Avatar), I thought it was a music app. 15 hours 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 [...]
Update: June 2011 Maybe there is PHP 5.3 support on 1and1. I wanted to use a certain wonderful PHP 5.3 framework for an upcoming project. I needed the official word on the state of PHP 5.3 on my beloved host, 1and1. I sent off an email to technical customer support. Here’s the email I sent [...]