PHP code samples

Some PHP samples you may find interesting.