New example: gravity. Previous examples are now compatible with PHP5.3.