Some random PHP exercises