PHP 5.3.0 Released!
If you’re still stuck in the old PHP 4 days, please please please take today’s release of PHP 5.3.0 as your cue to start learning about the wonderful world of object oriented PHP 5. 5.3.0 isn’t a...
View ArticlePHP error handling
Does this type of error handling code look familiar? function doFunction($var) { if(is_numeric($var)) { /* do some stuff*/ } else { return -1; } } BLEH. How ugly is that? There’s no indication whether...
View ArticleHoward Yeend: UK Web Developer CV
Northampton UK / howard.yeend@gmail.com Availability Not currently seeking work. Sorry! (updated Mar 2013) Skills JavaScript (The Good Parts) / ES5 / jQuery / HTML5 / CSS3 / Ajax / JSON / XKCD Object...
View ArticleTextpad PHP manual lookup tool
A little tip for those of us using textpad to develop in PHP. How often do you find yourself having to go back to PHP.net to check up on a function – is it ($needle, $haystack) or ($haystack, $needle)?...
View ArticleallRGB Entry – PHP Image Manipulation
The objective of allRGB is simple: To create images with one pixel for every rgb-color (16777216 to be exact); not one color missing, and not one color twice. What a cool project! As regular readers...
View ArticleSuper Useful Web Dev Tools
OMG, it’s been a whole month since my last update. I have draft posts about all kinds of Good Stuffâ„¢, but none are quite publishable yet. So today I’m just going to point you at a few great resources...
View ArticleFast PHP – effective optimisation and bottleneck detection
PHP is not the fastest language on earth. That honour probably goes to machine code. But like many high-level languages, PHP provides some handy abstractions, like named variables, hashmaps...
View ArticleFast PHP array_unique for removing duplicates
PHP’s native dedupe function, array_unique, can be slow for large amount of input. Here I’m going to talk about a simple function that performs the same task but which runs a lot faster. Often, people...
View ArticleOverloading in PHP
Murray Picton wrote up a blog post today on overloading functions in PHP. Overloading is a useful feature of many languages. Murray gives a nice definition in his post: Overloading a function is the...
View ArticlePoking holes in PHP object privacy
PHP provides a decent model of class member visibility, with public, private, and protected members to help you define tight APIs for your objects and show other developers how your object is supposed...
View Article
More Pages to Explore .....