Search Blog
Sections
Blogroll
Projects
Reading
Work
Category Archives: PHP
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
Leave a 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 php.net 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