Category Archives: PHP

Things to do with PHP scripting language. More info available at

Simple Class API Generator

During the week at work, I was putting together a Web Service in PHP and while doing so I had to prepare some documentation for the Web services classes. I couldn’t find any library apart from phpDocumentor which could do … Continue reading

Posted in PHP | 1 Comment

Eliminating duplicate entries in an array

array_flip() magic array array_flip ( array trans ) – Exchanges all keys with their associated values in an array array_flip() returns an array in flip order, i.e. keys from trans become values and values from trans become keys. < ?php … Continue reading

Posted in PHP | Leave a comment

Rsyncing the PHP manual

As a PHP developer, I have found it quite annoying to to wait for a few extra seconds to get the results of a function query at the website. So what I have done is to mirror the entire manual onto my local dev box and use it to query for any PHP functions. Here I have outlined the basic steps for you to setup a PHP manual mirror. Continue reading

Posted in PHP | Leave a comment