One of the challenges I face as a developer in the several languages I frequent is to remember the exact syntax for some of the less heavily used functions I try to implement, which is why my code snippets library is growing rapidly in size. However, sometimes it’s also useful having access to snippets of ‘complete’ code for functions/procedures/methods, etc. One good example would be the collection of 10 PHP snippets over at cats who code. Why not check them out, and if you have any you always find yourself referring back to, post them in the comments section below for us all to share!