PHP ancient (no OOP) version 5.2