Archive for the PHP Category
Published November 23rd, 2005
Spotted this post on Christian Stocker’s blog, which led me to this fascinating document — minutes of a meeting between various PHP heavyweights to discuss some of the proposed changes that might make it into PHP6. Of course it’s all a long way off but it gives an interesting insight into the thought processes of [...]
Published October 25th, 2005
Further to the issues dicussed here, PHP insider Derick Rethans has published an interesting, if rather technical article (PDF format) explaining in some detail (although with admirable clarity) how variables and references are handled internally in PHP. Although I’m against the idea that one should need to understand a language’s inner workings in order to [...]
Published September 15th, 2005
After my previous post about changes to PHP 4.4 and 5.0.5 generating new errors, I’ve been following with interest various discussions on the issue. In particular, I’ve been keeping my eye on the PHP Internals mailing list, where there have been a number of (ahem) ‘lively’ debates among the very people responsible for the development [...]
Published September 13th, 2005
A fairly obscure issue has been generating a lot of heat in the PHP community recently. With the release of PHP 4.4 and 5.0.5, a change has been made to the engine that has resulted in some new errors popping up in existing code. Check out this previously-acceptable snippet: function getAnArray() { $myArray = array [...]
Published September 2nd, 2005
This one’s more of a reminder for me than anything else. When retrieving data from a remote URL with file_get_contents() in PHP, it’s possible that the request will return an error code (eg. 404 File Not Found). As it happens, when you make this sort of request PHP creates an array called $http_response_header which — [...]
« Previous Entries Next Entries »