A collection of php quirk and analysis why it happens so.